summaryrefslogtreecommitdiffstats
path: root/db_structure.xml
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-05-21 19:08:15 +0200
committerVincent Petry <pvince81@owncloud.com>2016-05-21 19:08:15 +0200
commit8646802850af3ace50e88292f653eb449f959192 (patch)
tree0130972598d1b5e7da4e377726668b57d626e909 /db_structure.xml
parent693484008360b219848d4fbcdce9b7f26987850b (diff)
parent92c21fd6f456d083af8fa64a713c9a0e8d59d1c1 (diff)
downloadnextcloud-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.xml17
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>