Skip to content

Commit

Permalink
Merge pull request #281 from saltbo/bugfix/nonretry
Browse files Browse the repository at this point in the history
fix: enable retry for the SyncWithNamespace
  • Loading branch information
mergify[bot] authored Jul 26, 2023
2 parents 83e8dd8 + 2cb026a commit f1bf7df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions component/remote/abs.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ func (a *AbsApolloConfig) SyncWithNamespace(namespace string, appConfigFunc func
AppID: appConfig.AppID,
Secret: appConfig.Secret,
Timeout: notifyConnectTimeout,
IsRetry: true,
}
if appConfig.SyncServerTimeout > 0 {
duration, err := time.ParseDuration(strconv.Itoa(appConfig.SyncServerTimeout) + "s")
Expand Down

0 comments on commit f1bf7df

Please sign in to comment.