26 Commits

Author SHA1 Message Date
zyx
7b0cd490b7 fix misuse of a variable 2020-06-08 22:23:12 +08:00
zyx
b5d2a0ad89 bug fix: jobs not being scheduled after timeout 2020-06-04 09:37:20 +08:00
zyx
31862210ba implement the timeout 2020-05-25 19:15:05 +08:00
z4yx
38b0156fae [bug fix] provider is not terminated if premature stop command received 2020-05-09 18:42:54 +08:00
z4yx
839363aaaa reschedule the job if any hook fails 2019-11-04 22:52:03 +08:00
z4yx
a6fc97889d [bug fix] stalled scheduler if post-sync hook runs for a time which is longer than the sync interval 2019-07-05 16:29:00 +08:00
zyx
1aa4ae9cc1 Merge remote-tracking branch 'kinosang/master' into wip-test-pr 2019-04-13 02:07:41 +08:00
zyx
d0deeb19a9 extract mirror size from rsync provider automatically 2019-04-13 01:27:35 +08:00
z4yx
c750aa1871 new feature: run "tunasynctl start" with "-f" to override concurrent job limit 2018-05-30 18:59:24 +08:00
Yuxiang Zhang
6cbe91b4f1 new command: jobForceStart 2018-05-30 16:07:07 +08:00
Yuxiang Zhang
0fdb07d061 bug fix: log over-written in twoStageRsyncProvider
solve more DATA RACE problem
2018-05-30 12:28:09 +08:00
7IN0SAN9
563860d424
fix #63 2017-03-27 13:09:56 +08:00
bigeagle
76ad3d40d6
feature(worker): when SIGINT/SIGTERM received, stop all the jobs and update their status before quit. Close #19. 2016-05-02 22:16:49 +08:00
bigeagle
51fa12900d
feature(worker): ability to hot reload mirror job configrations, close #18 2016-05-02 17:45:21 +08:00
bigeagle
f8fd1ae460
style: better logging 2016-04-30 16:43:47 +08:00
bigeagle
41e1f263a5
refactor(worker): use atomic state to simplify job control 2016-04-30 16:43:24 +08:00
bigeagle
292a24ba20
fix(worker): fixed job status and control logic 2016-04-30 16:42:51 +08:00
bigeagle
ce3471e30d
feature(worker): implemented Worker object, worker side code is almost done 2016-04-30 16:41:39 +08:00
bigeagle
9afd47ddcb
feature(worker): LogLimiter hook 2016-04-30 16:40:40 +08:00
bigeagle
731fba842f
feature(worker): job need to be started by jobStart signal 2016-04-30 16:40:16 +08:00
bigeagle
9339fba074
refactor(worker): use Run instead of Start and Wait 2016-04-30 16:40:05 +08:00
bigeagle
b077db1d0b
feature(worker): job schedule 2016-04-30 16:39:42 +08:00
bigeagle
f31bcfbcc3
feature(API): error message in manager channel 2016-04-30 16:39:35 +08:00
bigeagle
26b7ef9a9c
refactor(worker): use write blocking for semaphore 2016-04-30 16:39:26 +08:00
bigeagle
6b05a5894e
feature(worker): runMirrorJob no longer controls the interval 2016-04-30 16:39:19 +08:00
bigeagle
681388ffdd
feature(worker): toplevel mirror job logic 2016-04-30 16:39:08 +08:00