Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
willdesk_apiauto
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
29
Issues
29
List
Boards
Labels
Service Desk
Milestones
Merge Requests
29
Merge Requests
29
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
桦生 詹
willdesk_apiauto
Commits
bea9a5a1
Commit
bea9a5a1
authored
Sep 25, 2024
by
zhanhuasheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改数据库连接超时时间
parent
b79c972d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Utils/sql_handler.py
Utils/sql_handler.py
+1
-1
No files found.
Utils/sql_handler.py
View file @
bea9a5a1
...
@@ -9,7 +9,7 @@ class SqlHandler:
...
@@ -9,7 +9,7 @@ class SqlHandler:
self
.
password
=
password
self
.
password
=
password
self
.
account
=
account
self
.
account
=
account
self
.
database
=
database
self
.
database
=
database
self
.
conn
=
pymysql
.
connect
(
host
=
address
,
port
=
port
,
user
=
account
,
password
=
password
,
database
=
database
,
cursorclass
=
pymysql
.
cursors
.
DictCursor
)
self
.
conn
=
pymysql
.
connect
(
host
=
address
,
port
=
port
,
user
=
account
,
password
=
password
,
database
=
database
,
cursorclass
=
pymysql
.
cursors
.
DictCursor
,
connect_timeout
=
60
)
self
.
cursor
=
self
.
conn
.
cursor
()
self
.
cursor
=
self
.
conn
.
cursor
()
def
select_one_value
(
self
,
sql
):
def
select_one_value
(
self
,
sql
):
...
...
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