Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
I
install.api
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Script
install.api
Commits
9c48f7cf
Commit
9c48f7cf
authored
5 years ago
by
jinkaiqiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
取消超时 和多线程冲突了
parent
e5de209c
Pipeline
#25155
passed with stage
in 22 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
common_tools.py
app/utils/common_tools.py
+1
-1
No files found.
app/utils/common_tools.py
View file @
9c48f7cf
...
...
@@ -22,7 +22,7 @@ class CommonTools:
raise
HSException
(
f
"{key}不能为空"
)
# 超过四秒,基本上没救了,告辞~~~~
@
timeout_decorator
.
timeout
(
2
)
#
@timeout_decorator.timeout(2)
def
test_db_connection
(
self
,
ip
:
int
,
port
:
int
,
user_name
:
str
,
password
:
str
,
db_name
:
str
):
'''
测试数据库连接
...
...
This diff is collapsed.
Click to expand it.
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