Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
Thick-Common
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
潘栩锋
Thick-Common
Commits
e5bada30
Commit
e5bada30
authored
Jan 19, 2021
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 3秒收不到timegrid会重连,修改为60秒。 添加log.Error
parent
4ab6da71
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
FlyAD7.cs
Project.FLY.FlyADBase/FlyADBase/FlyAD7.cs
+4
-3
No files found.
Project.FLY.FlyADBase/FlyADBase/FlyAD7.cs
View file @
e5bada30
...
...
@@ -71,9 +71,9 @@ namespace FlyADBase
/// </summary>
int
noTGridCnt
=
0
;
/// <summary>
///
3次
收不到timegrid, 重连
///
60秒
收不到timegrid, 重连
/// </summary>
const
int
ReConnectTGridMaxCnt
=
3
;
const
int
ReConnectTGridMaxCnt
=
60
;
...
...
@@ -94,7 +94,7 @@ namespace FlyADBase
//
3
秒内收不到1个timegrid ,就会重连
//
60
秒内收不到1个timegrid ,就会重连
PollModule
.
Current
.
Poll_Config
(
PollModule
.
POLL_CONFIG
.
ADD
,
()
=>
{
...
...
@@ -108,6 +108,7 @@ namespace FlyADBase
if
(
noTGridCnt
>=
ReConnectTGridMaxCnt
)
{
noTGridCnt
=
0
;
logger
.
Error
(
"60秒都无法接收到ad盒的timegrid,reconnect"
);
ReConnect
();
}
}
...
...
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