1
0
镜像自地址 https://github.com/tuna/tunasync.git 已同步 2025-12-06 06:26:46 +00:00

fix(worker): improved cgroup creation

这个提交包含在:
bigeagle
2016-12-10 04:02:44 +08:00
父节点 9645fd44ec
当前提交 7601e5793f
共有 6 个文件被更改,包括 49 次插入41 次删除

查看文件

@@ -70,9 +70,10 @@ type serverConfig struct {
}
type cgroupConfig struct {
Enable bool `toml:"enable"`
BasePath string `toml:"base_path"`
Group string `toml:"group"`
Enable bool `toml:"enable"`
BasePath string `toml:"base_path"`
Group string `toml:"group"`
Subsystem string `toml:"subsystem"`
}
type dockerConfig struct {
@@ -119,6 +120,8 @@ type mirrorConfig struct {
Password string `toml:"password"`
Stage1Profile string `toml:"stage1_profile"`
MemoryLimit string `toml:"memory_limit"`
DockerImage string `toml:"docker_image"`
DockerVolumes []string `toml:"docker_volumes"`
DockerOptions []string `toml:"docker_options"`