Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-05-18 15:27:48 +0300
committerJoas Schilling <nickvergessen@owncloud.com>2016-05-21 02:59:25 +0300
commitd0a2fa050694232554242c6344439915f3f09d12 (patch)
tree083fccfd8c248efcfba089aa6444697665258a45 /db_structure.xml
parent7e3ce8352666af86d597e1fdce95bfe57531207e (diff)
Lock jobs while executing them, to allow multiple executors to run in parallel
Diffstat (limited to 'db_structure.xml')
-rw-r--r--db_structure.xml17
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>