Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
I
install.api
Project
Project
Details
Activity
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
Script
install.api
Commits
e5de209c
Commit
e5de209c
authored
Jun 20, 2020
by
jinkaiqiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
一个进程50个线程
parent
7691569c
Pipeline
#25150
passed with stage
in 22 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
docker_entry.sh
docker_entry.sh
+2
-2
No files found.
docker_entry.sh
View file @
e5de209c
...
...
@@ -4,11 +4,11 @@
nohup
python
-u
upgradeDB.py
>
upgrade_log.log 2>&1 &
if
[
-z
"
$THREADS
"
]
;
then
THREADS
=
1
THREADS
=
50
fi
if
[
-z
"
$WORKER
"
]
;
then
WORKER
=
3
WORKER
=
1
fi
# 默认2个进程 50个线程
...
...
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