Skip to content

Commit

Permalink
add check server time
Browse files Browse the repository at this point in the history
  • Loading branch information
zhyale committed Sep 9, 2021
1 parent d467ed3 commit 9e0b953
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion data/setting.go
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,8 @@ func RPCGetNodeSetting() *models.NodeShareSetting {
if rpcObject.Object == nil {
rpcObject.Object = &models.NodeShareSetting{
SyncInterval: time.Duration(120) * time.Second,
}
}
utils.DebugPrintln("RPCGetNodeSetting failed, please check the network and server time")
}
return rpcObject.Object
}

0 comments on commit 9e0b953

Please sign in to comment.