Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
孙龙
/
golang_asynctask
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a0cc2e53
authored
Apr 21, 2025
by
gongyang
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
设置超时时间
parent
0c7d0117
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
cmd/scm/sync_customs/main.go
cmd/scm/sync_customs/main.go
View file @
a0cc2e53
...
...
@@ -278,6 +278,8 @@ func requestTableInfo(tableName,currentDate string)string {
client
:=
rpc
.
NewHTTPClient
(
"http://119.23.228.186:50005/"
)
time
:=
time
.
Second
*
120
client
.
SetTimeout
(
time
)
client
.
UseService
(
&
sub
)
result
,
err
:=
sub
.
GetCustomsDockingData
(
`{"tableName":"`
+
tableName
+
`","bizDate":"`
+
currentDate
+
`"}`
)
...
...
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