Côme Chilliet
d74044f634
Fix API breakage by using a new method instead
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1年前
Carl Schwan
48d9c4d2b0
Port existing server code to new interface
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2年前
Côme Chilliet
0386f4270b
Fix DummyJobList typing
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1年前
Côme Chilliet
50a7f612d9
Fix DummyJobList class used by tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2年前
Kirill Popov
0b27b9e658
Get not only time-sensitive next job from list but any
Before the change webcron used to select
**only** time-sensitive tasks.
Signed-off-by: Kirill Popov <kirill.s.popov@gmail.com>
2年前
Joas Schilling
b765f79368
Allow apps to specify if their background job can be delayed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2年前
Joas Schilling
9cd9f4b4bc
Move queries to the joblist
Signed-off-by: Joas Schilling <coding@schilljs.com>
3年前
Morris Jobke
16d83ab30a
Remove getLastJob from IJobList
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3年前
Christoph Wurst
41b5e5923a
Use exactly one empty line after the namespace declaration
For PSR2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4年前
Christoph Wurst
b80ebc9674
Use the short array syntax, everywhere
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4年前
Noveen Sachdeva
1b1f403a5d
Add duration of last job execution to the table
7年前
Joas Schilling
94ad54ec9b
Move tests/ to PSR-4 (#24731)
* Move a-b to PSR-4
* Move c-d to PSR-4
* Move e+g to PSR-4
* Move h-l to PSR-4
* Move m-r to PSR-4
* Move s-u to PSR-4
* Move files/ to PSR-4
* Move remaining tests to PSR-4
* Remove Test\ from old autoloader
8年前
Robin Appelman
74ae7b8929
Add async command system to handle asynchronous operations
9年前
Robin Appelman
a6399f9cef
Add the background job list to the public server container
10年前
Robin Appelman
2ff1bdaba3
add test case for removing background jobs that are throwing exceptions
10年前
Robin Appelman
b31dc10c3c
Add support for the old public backgroundjob api
11年前
Robin Appelman
3aecfda0c0
Adjust backgroundjob test cases
11年前
Robin Appelman
7948341a86
Rework background job system
11年前