Commit 755d8b46 authored by 金凯强's avatar 金凯强 🎨

2个工作者

parent 6932f0b4
Pipeline #21131 passed with stage
in 36 seconds
...@@ -4,11 +4,11 @@ ...@@ -4,11 +4,11 @@
nohup python -u upgradeDB.py > upgrade_log.log 2>&1 & nohup python -u upgradeDB.py > upgrade_log.log 2>&1 &
if [ -z "$THREADS" ]; then if [ -z "$THREADS" ]; then
THREADS=10 THREADS=1
fi fi
if [ -z "$WORKER" ]; then if [ -z "$WORKER" ]; then
WORKER=1 WORKER=2
fi fi
# 默认2个进程 50个线程 # 默认2个进程 50个线程
......
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