Skip to content

Commit

Permalink
删除无效代码
Browse files Browse the repository at this point in the history
  • Loading branch information
jehoochen committed Jul 4, 2017
1 parent f35a778 commit e9b34eb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions mars/stn/src/dynamic_timeout.cc
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,8 @@ void DynamicTimeout::CgiTaskStatistic(std::string _cgi_uri, unsigned int _total_
task_status = kDynTimeTaskBigPkgMeetExpectTag;
}
}
else if (_total_size > kDynTimeBigPackageLen) {
if (_cost_time <= bigger_pkg_costtime) {
task_status = kDynTimeTaskBiggerPkgMeetExpectTag;
}
else if (_cost_time <= bigger_pkg_costtime) {
task_status = kDynTimeTaskBiggerPkgMeetExpectTag;
}
/*else {
task_status = DYNTIME_TASK_NORMAL_TAG;
Expand Down

0 comments on commit e9b34eb

Please sign in to comment.