Skip to content

Commit

Permalink
uncomment temporarily optimization weak network when networkchange
Browse files Browse the repository at this point in the history
  • Loading branch information
garryyan committed Jul 10, 2017
1 parent 92ef750 commit fa51131
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mars/stn/src/longlink_connect_monitor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ bool LongLinkConnectMonitor::MakeSureConnected() {

bool LongLinkConnectMonitor::NetworkChange() {
xinfo_function();
#if 0//def __APPLE__
#ifdef __APPLE__
__StopTimer();

do {
Expand Down
1 change: 1 addition & 0 deletions mars/stn/src/net_core.cc
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,7 @@ void NetCore::RedoTasks() {
#ifdef USE_LONG_LINK
longlink_task_manager_->LongLinkChannel().Disconnect(LongLink::kReset);
longlink_task_manager_->RedoTasks();
zombie_task_manager_->RedoTasks();
#endif
shortlink_task_manager_->RedoTasks();

Expand Down

0 comments on commit fa51131

Please sign in to comment.