diff --git a/business/jxutils/tasks/configrefresh.go b/business/jxutils/tasks/configrefresh.go index c9d3f5573..6090848f1 100644 --- a/business/jxutils/tasks/configrefresh.go +++ b/business/jxutils/tasks/configrefresh.go @@ -112,6 +112,9 @@ func RefreshConfig(configKey string, expiresTime time.Duration, configGetter fun } else if sleepDuration > maxRefreshGap { sleepDuration = maxRefreshGap } + if IsGetWXTokenFromRemote() { + sleepDuration = minRefreshGap + } return sleepDuration } utils.CallFuncAsync(func() {