Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
L
lcc-reese84
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangmingming
lcc-reese84
Commits
519fa2a1
Commit
519fa2a1
authored
Nov 08, 2023
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
ff6d2f10
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
2 deletions
+15
-2
docker-compose.yml
docker-compose.yml
+14
-1
main.py
src/main.py
+1
-1
No files found.
docker-compose.yml
View file @
519fa2a1
...
...
@@ -25,4 +25,17 @@ services:
volumes
:
-
/data/log/lcc-5s/:/data/log/lcc-5s/
environment
:
-
work_dir=1
\ No newline at end of file
-
work_dir=2
reese843
:
# 单个服务标识(名字)
container_name
:
lcc-py-reese84-3
# 启动后的容器名称 相当于 --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
src/main.py
View file @
519fa2a1
...
...
@@ -76,7 +76,7 @@ def exec(thread_id):
def
run
():
brush_thread
=
2
brush_thread
=
3
print
(
f
'本次并发数 {brush_thread}'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment