Skip to content

Commit

Permalink
Add small delay between member migration batches (#6952)
Browse files Browse the repository at this point in the history
  • Loading branch information
hpeebles authored Dec 3, 2024
1 parent 37fe3af commit 5993147
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/canisters/community/impl/src/timer_job_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ impl Job for MigrateMembersToStableMemoryJob {
state
.data
.timer_jobs
.enqueue_job(TimerJob::MigrateMembersToStableMemory(self), now, now);
.enqueue_job(TimerJob::MigrateMembersToStableMemory(self), now + (10 * SECOND_IN_MS), now);
} else {
state.data.members_migrated_to_stable_memory = true;
info!("Finished migrating members to stable memory");
Expand Down

0 comments on commit 5993147

Please sign in to comment.