Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
browser-backend
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
Administrator
browser-backend
Commits
94b094bd
Commit
94b094bd
authored
Aug 05, 2020
by
xuxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
专线检查性能优化
parent
3db6b0f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
SpecialLineCheckTask.java
...gec/browserbackend/browser/task/SpecialLineCheckTask.java
+5
-1
No files found.
src/main/java/com/edgec/browserbackend/browser/task/SpecialLineCheckTask.java
View file @
94b094bd
...
...
@@ -53,7 +53,7 @@ public class SpecialLineCheckTask {
specialLineState
=
finalFail
==
ipResourceList
.
size
()
?
"off"
:
null
;
}
if
(
"off"
.
equals
(
globalField
.
getSpecialLineState
()))
{
specialLineState
=
finalSuccess
>
5
?
"on"
:
null
;
specialLineState
=
finalSuccess
>
1
?
"on"
:
null
;
}
if
(!
StringUtils
.
isEmpty
(
specialLineState
))
{
...
...
@@ -83,6 +83,10 @@ public class SpecialLineCheckTask {
if
(
success
==
1
)
{
finalSuccess
++;
}
// 用于性能优化
if
(
finalSuccess
==
2
)
{
break
;
}
}
int
[]
arr
=
{
finalSuccess
,
finalFail
};
...
...
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