diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-05-21 19:08:15 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2016-05-21 19:08:15 +0200 |
commit | 8646802850af3ace50e88292f653eb449f959192 (patch) | |
tree | 0130972598d1b5e7da4e377726668b57d626e909 /db_structure.xml | |
parent | 693484008360b219848d4fbcdce9b7f26987850b (diff) | |
parent | 92c21fd6f456d083af8fa64a713c9a0e8d59d1c1 (diff) | |
download | nextcloud-server-8646802850af3ace50e88292f653eb449f959192.tar.gz nextcloud-server-8646802850af3ace50e88292f653eb449f959192.zip |
Merge pull request #24696 from owncloud/lock-jobs-while-executing
Lock jobs while executing them, to allow multiple executors to run in…
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 640edfbfd80..e535814b518 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> |