Miao Wang
|
02a144744f
|
[WIP] cgroupv2: add init cgroup
|
2021-07-25 02:58:12 +08:00 |
|
Jiajie Chen
|
b4b81ef7e9
|
Fix typo: registor -> register
|
2020-09-10 21:32:22 +08:00 |
|
z4yx
|
85b2105a2b
|
[worker] retry registration
|
2020-06-17 21:34:55 +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 |
|
zyx
|
ddc9efd155
|
report next scheduled sync time
|
2019-04-11 12:36:18 +08:00 |
|
zyx
|
7eb119b892
|
singleton of worker is not used, so remove it
|
2019-04-11 10:07:42 +08:00 |
|
z4yx
|
c750aa1871
|
new feature: run "tunasynctl start" with "-f" to override concurrent job limit
|
2018-05-30 18:59:24 +08:00 |
|
7IN0SAN9
|
563860d424
|
fix #63
|
2017-03-27 13:09:56 +08:00 |
|
bigeagle
|
fd277388d5
|
fix(worker): fixed multi-manager configuration
the worker must be registerred on the manager
`extra_status_manager` option is replaced by `api_base_list`, which overrides the `api_base` option
|
2016-12-12 23:17:50 +08:00 |
|
bigeagle
|
7601e5793f
|
fix(worker): improved cgroup creation
|
2016-12-10 04:14:39 +08:00 |
|
bigeagle
|
a0b8ef08ab
|
feat(worker): implemented extra_status_manager option to enable a worker reporting status to multi
|
2016-12-06 23:59:15 +08:00 |
|
bigeagle
|
d292f9b0e3
|
feat(tunasync): add tunasynctl reload subcommand
|
2016-06-15 14:01:10 +08:00 |
|
bigeagle
|
613d46e4e3
|
fix(worker): fix resource leakage caused by time.Tick(), closing #33
|
2016-06-15 00:31:53 +08:00 |
|
bigeagle
|
f6d53c16d6
|
fix(worker): do not init cgroup if it's not enabled
|
2016-05-19 11:42:22 +08:00 |
|
bigeagle
|
28c8145137
|
feature(worker): limit rsync memory using cgroup
|
2016-05-08 17:24:41 +08:00 |
|
bigeagle
|
5b5f020075
|
style(worker): put exported methods together
|
2016-05-02 22:19:02 +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
|
65984053eb
|
fix(worker): fixed scheduling bugs
|
2016-05-02 18:56:45 +08:00 |
|
bigeagle
|
51fa12900d
|
feature(worker): ability to hot reload mirror job configrations, close #18
|
2016-05-02 17:45:21 +08:00 |
|
bigeagle
|
56459f2ce0
|
feature(worker): implemented mirror role (master/slave) option
|
2016-04-30 16:44:39 +08:00 |
|
bigeagle
|
bd423eec4e
|
feature(worker): added exec_on_success and exec_on_failure option and hooks
|
2016-04-30 16:44:15 +08:00 |
|
bigeagle
|
f8fd1ae460
|
style: better logging
|
2016-04-30 16:43:47 +08:00 |
|
bigeagle
|
924fda6dd8
|
feature(worker): use cgroup track job process, so that they can be all-killed
|
2016-04-30 16:43:30 +08:00 |
|
bigeagle
|
41e1f263a5
|
refactor(worker): use atomic state to simplify job control
|
2016-04-30 16:43:24 +08:00 |
|
bigeagle
|
2268eb3b0f
|
fix(tunasync): connection leakage caused by http keep-alive
|
2016-04-30 16:43:17 +08:00 |
|
bigeagle
|
292a24ba20
|
fix(worker): fixed job status and control logic
|
2016-04-30 16:42:51 +08:00 |
|
bigeagle
|
9fbb8ab155
|
refactor(tunasync):
1. refactored manager and worker to support TLS transport
2. if mirror_dir is specified from a mirror config, don't add the mirror name
|
2016-04-30 16:42:15 +08:00 |
|
bigeagle
|
0dcd89da31
|
refactor(manager): refactored structure names in manager
|
2016-04-30 16:41:44 +08:00 |
|
bigeagle
|
ce3471e30d
|
feature(worker): implemented Worker object, worker side code is almost done
|
2016-04-30 16:41:39 +08:00 |
|