-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
colossus: sync - longer default interval #4924
colossus: sync - longer default interval #4924
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just one small comment. And for the delay, I repeatedly missed reviewing this.
storage-node/src/commands/server.ts
Outdated
@@ -284,12 +290,12 @@ async function runSyncWithInterval( | |||
tempDirectory: string, | |||
syncWorkersNumber: number, | |||
syncWorkersTimeout: number, | |||
syncIntervalMinutes: number | |||
syncIntervalMinutes: number, | |||
syncRetryIntervalMinutes: number | |||
) { | |||
const sleepInteval = syncIntervalMinutes * 60 * 1000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const sleepInteval = syncIntervalMinutes * 60 * 1000 | |
const sleepInterval = syncIntervalMinutes * 60 * 1000 |
Thanks for review. Fixed the typo in c25416d |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
As per recommendation in #4921 (comment)
This is not an urgent update since it is really only changing the default, but it would be good to confirm with Storage lead if it does indeed help storage operators overall.