Commit Graph

50 Commits (ba94de2510b3858f10d60f0230a58b1252346372)

Author SHA1 Message Date
Joas Schilling 4cb5501a3f
fix(cron): Reset the reserved_at when force executing from CLI 2 years ago
Anna Larch dc87c531b5 fix(joblist): also reset last_run timestamp on updating an existing job 2 years ago
Marcel Klehr cbd304c8f0 fix(JobList#hasReservedJob): Break tie when multiple jobs are reserved 2 years ago
Christoph Wurst 04ecc2a6a9
feat(backgroundjob): Schedule job after <timestamp> 2 years ago
Marcel Klehr 9f4b3de03c Fix ParallelAwareJob tests 2 years ago
Louis Chemineau 8ad2f34045 Remove job from oc_jobs when the file is not findable 3 years ago
Marcel Klehr 524d053eb2 JobList: add debug log when hasReservedJob query fails 3 years ago
Marcel Klehr 5a7f023bfc JobList#hasReservedJobs: Close cursor 3 years ago
Marcel Klehr 5608b50778 Fix BackgroundJob tests 3 years ago
Marcel Klehr 6f9a3218d0 Update lib/private/BackgroundJob/JobList.php 3 years ago
Marcel Klehr 1296f3612e test(BackgroundJobs): Add tests for allowParallelRuns and hasReservedJobs 3 years ago
Marcel Klehr c01c516323 feat(BackgroundJobs): Allow preventing parallel runs for a job class 3 years ago
Côme Chilliet d74044f634
Fix API breakage by using a new method instead 3 years ago
Côme Chilliet e74f464662
Remove deprecated method getAll instead of breaking API on deprecated method 3 years ago
Côme Chilliet 679682c186
Use a Generator for job list to fix background-job:list command 3 years ago
Côme Chilliet 2e921f8b3d Fix typing in IJobList 4 years ago
Côme Chilliet 868d748dbf Code cleaning of Background/ListCommand 4 years ago
Côme Chilliet 3d01179907 Add command to list jobs 4 years ago
Côme Chilliet 0b7779b6ff Clean up JobList class 4 years ago
Christoph Wurst b17c4a6072 Check background job type 4 years ago
Kirill Popov 0b27b9e658 Get not only time-sensitive next job from list but any 4 years ago
Carl Schwan c870bd1968 Do chuncked job deletion 4 years ago
Joas Schilling abcf45e336
Also use hashed/indexed column on delete 4 years ago
Joas Schilling b765f79368
Allow apps to specify if their background job can be delayed 4 years ago
Julius Härtl 99b2cf8339
Add hashed attribute column for indexed job existence check 4 years ago
Carl Schwan 6312c0df69
Check style update 4 years ago
Julius Härtl b30193ed14
Reset job disabling timer on adding the job again 4 years ago
Joas Schilling 7239b3d560
Bump since version 4 years ago
Joas Schilling 9cd9f4b4bc
Move queries to the joblist 4 years ago
John Molakvoæ (skjnldsv) 215aef3cbd
Update php licenses 5 years ago
Christoph Wurst d89a75be0b
Update all license headers for Nextcloud 21 5 years ago
Morris Jobke 99c9423766
Remove @suppress SqlInjectionChecker 5 years ago
Morris Jobke 16d83ab30a
Remove getLastJob from IJobList 5 years ago
Christoph Wurst 1a9330cd69
Update the license headers for Nextcloud 19 6 years ago
Georg Ehrke eda599973d
JobList: Typecast last_run to integer 6 years ago
Christoph Wurst 5bf3d1bb38
Update license headers 6 years ago
Roeland Jago Douma 68748d4f85
Some php-cs fixes 6 years ago
Christoph Wurst d5927e4d01
Fix integer background job id type error 7 years ago
Morris Jobke f5a1f4bc1b
Revert "Wait for cron to finish before running upgrade command" 7 years ago
Morris Jobke 79801ad263
Suppress potential SQL injection warning as they are false positives 8 years ago
Morris Jobke a1a29d14c8
Unlock failed cron jobs and set a high "last_checked" value to avoid continous re-check 8 years ago
Morris Jobke 18e9631810
Wait for cron to finish before running upgrade command 8 years ago
Morris Jobke 0eebff152a
Update license headers 8 years ago
Lukas Reschke 3d2600b039
Add Phan plugin to check for SQL injections 9 years ago
Noveen Sachdeva 1b1f403a5d
Add duration of last job execution to the table 9 years ago
Jörn Friedrich Dreyer c993c363e0
make JobList::next() lock free 9 years ago
Joas Schilling 0215b004da
Update with robin 10 years ago
Joas Schilling ba87db3fcc
Fix others 10 years ago
Joas Schilling d0a2fa0506
Lock jobs while executing them, to allow multiple executors to run in parallel 10 years ago
Roeland Jago Douma 6b5db081a5
Move \OC\BackgroundJob to PSR-4 10 years ago