Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
周伟奇
/
bmw-ocr
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
1379e8b6
authored
2020-07-06 19:35:39 +0800
by
周伟奇
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
remove pool_pre_ping
1 parent
b3eeb617
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
4 deletions
src/apps/doc/views.py
src/settings/database.py
src/apps/doc/views.py
View file @
1379e8b
...
...
@@ -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"
)
...
...
src/settings/database.py
View file @
1379e8b
...
...
@@ -18,8 +18,7 @@ MYSQLPOOL_ARGUMENTS = {
'pool_size'
:
64
,
'max_overflow'
:
10
,
'timeout'
:
5
,
'use_threadlocal'
:
True
,
'pool_pre_ping'
:
True
,
'use_threadlocal'
:
False
,
}
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment