diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2016-05-18 14:27:48 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2016-05-21 01:59:25 +0200 |
commit | d0a2fa050694232554242c6344439915f3f09d12 (patch) | |
tree | 083fccfd8c248efcfba089aa6444697665258a45 /db_structure.xml | |
parent | 7e3ce8352666af86d597e1fdce95bfe57531207e (diff) | |
download | nextcloud-server-d0a2fa050694232554242c6344439915f3f09d12.tar.gz nextcloud-server-d0a2fa050694232554242c6344439915f3f09d12.zip |
Lock jobs while executing them, to allow multiple executors to run in parallel
Diffstat (limited to 'db_structure.xml')
-rw-r--r-- | db_structure.xml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/db_structure.xml b/db_structure.xml index 6e57b003fcf..24b5a4b748c 100644 --- a/db_structure.xml +++ b/db_structure.xml @@ -968,12 +968,29 @@ </field> <field> + <!-- timestamp when the job was executed the last time --> <name>last_run</name> <type>integer</type> <default></default> <notnull>false</notnull> </field> + <field> + <!-- timestamp when the job was checked if it needs execution the last time --> + <name>last_checked</name> + <type>integer</type> + <default></default> + <notnull>false</notnull> + </field> + + <field> + <!-- timestamp when the job was reserved the last time, 1 day timeout --> + <name>reserved_at</name> + <type>integer</type> + <default></default> + <notnull>false</notnull> + </field> + <index> <name>job_class_index</name> <field> |