1379e8b6 by 周伟奇

remove pool_pre_ping

1 parent b3eeb617
......@@ -16,8 +16,6 @@ from .models import UploadDocRecords, DocStatus, HILDoc, AFCDoc, PriorityApplica
from .mixins import DocHandler
from . import consts
# Create your views here.
# restframework将request.body封装至request.data, webargs从request.data中获取参数
@parser.location_loader("data")
......
......@@ -18,8 +18,7 @@ MYSQLPOOL_ARGUMENTS = {
'pool_size': 64,
'max_overflow': 10,
'timeout': 5,
'use_threadlocal': True,
'pool_pre_ping': True,
'use_threadlocal': False,
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!