Commit Graph

21 Commits

Author SHA1 Message Date
Shengqi Chen d2b3e731bf
Fix numerous lint issues
Some checks are pending
tunasync / Build (push) Waiting to run
tunasync / Test (push) Waiting to run
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
2025-02-27 22:42:49 +08:00
Miao Wang 113df44f19 cgroup: upgrade to containerd/cgroup/v3
Some checks failed
tunasync / Build (push) Has been cancelled
tunasync / Test (push) Has been cancelled
2025-01-12 04:07:01 +08:00
Shengqi Chen 99c7ab6b65
Fix more linter issues
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
2025-01-11 15:53:42 +08:00
Miao Wang 1bc0285905 cgroupv2: bypass RequireDevices check 2021-07-27 02:16:51 +08:00
Miao Wang 0f05c69c36 [WIP] cgroupv2: support start with cgroupv2 2021-07-25 16:24:13 +08:00
Miao Wang 2c4d2d6ae0 [WIP] cgroupv2: add cgroup add and del 2021-07-25 04:15:28 +08:00
Miao Wang 02a144744f [WIP] cgroupv2: add init cgroup 2021-07-25 02:58:12 +08:00
Miao Wang 3ba70c6c71 cgroupv2: create cgroup manager on startup (WIP) 2021-07-23 18:46:39 +08:00
Miao Wang 2949b9c58c cgroupv2: change newCgroupHook interface 2021-07-23 15:29:28 +08:00
Miao Wang 27c33f86b3 cgroup: add reexec hook 2021-07-22 19:09:00 +08:00
Miao Wang 3ce5c2ede3 change type of memlimit from string to int64 2021-07-12 21:44:43 +08:00
WANG Ziqin 06fce98c00 Eliminate duplicate mirrorProvider in Hooks 2019-07-31 16:11:56 +08:00
bigeagle 7601e5793f
fix(worker): improved cgroup creation 2016-12-10 04:14:39 +08:00
bigeagle 9645fd44ec ci(travis): Enabled docker on travis 2016-12-10 03:48:03 +08:00
bigeagle 21c832c8fb fix(worker): disabled memory limit
rsync memory is nolonger limited
2016-12-09 23:07:05 +08:00
bigeagle 96f9db8bb8
fix(worker): extended rsync memory limit to 512MB 2016-12-04 22:56:48 +08:00
bigeagle add7b936e3 refactor(cmd): pinning cli.v1 2016-11-20 00:01:47 +08:00
bigeagle 437acd3f01
fix(worker): cgroup hook now ensure child progresses are killed 2016-08-02 21:55:41 +08:00
bigeagle 28c8145137
feature(worker): limit rsync memory using cgroup 2016-05-08 17:24:41 +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