From 9e0b95388e370d7a26999f7158f117d9ca0a615a Mon Sep 17 00:00:00 2001 From: zhyale Date: Thu, 9 Sep 2021 19:12:49 +0800 Subject: [PATCH] add check server time --- data/setting.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/data/setting.go b/data/setting.go index 37735c5..0dcaab8 100644 --- a/data/setting.go +++ b/data/setting.go @@ -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 }