Commit befb2662 authored by wang's avatar wang

1

parent 8e62e41e
......@@ -39,3 +39,16 @@ services:
- /data/log/lcc-5s/:/data/log/lcc-5s/
environment:
- work_dir=3
reese844: # 单个服务标识(名字)
container_name: lcc-py-reese84-4 # 启动后的容器名称 相当于 --name 指定的名称
image: lcctr:latest # 镜像
restart: "on-failure"
deploy:
resources:
limits:
cpus: '2'
memory: 1G
volumes:
- /data/log/lcc-5s/:/data/log/lcc-5s/
environment:
- work_dir=3
\ No newline at end of file
......@@ -76,7 +76,7 @@ def exec(thread_id):
def run():
brush_thread = 3
brush_thread = 4
print(f'本次并发数 {brush_thread}')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment