Commit 9c592e24 authored by 金凯强's avatar 金凯强 🎨

测试模块

parent f4cfb5c9
Pipeline #21121 passed with stage
in 23 seconds
......@@ -155,12 +155,9 @@ from app_upgrade_log A
order by A.default_version desc, A.upgrade_time desc
'''
print('--1--')
with db_driver as session:
print('--2--')
data = session.query_sql(sql)
count_data = session.retrive_sql(count_sql)
print('--3--')
page_data = {
"paging": {
......
......@@ -4,7 +4,7 @@
nohup python -u upgradeDB.py > upgrade_log.log 2>&1 &
if [ -z "$THREADS" ]; then
THREADS=1
THREADS=50
fi
if [ -z "$WORKER" ]; then
......
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