Skip to content

Commit ea7eada

Browse files
authored
fix: add delay after auto-starting instance to prevent race conditions
1 parent 0c0dc86 commit ea7eada

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/master.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -742,6 +742,7 @@ func (m *Master) loadState() {
742742
if instance.Restart {
743743
m.logger.Info("Auto-starting instance: %v [%v]", instance.URL, instance.ID)
744744
m.startInstance(instance)
745+
time.Sleep(baseDuration)
745746
}
746747
}
747748

0 commit comments

Comments
 (0)