Skip to content

Commit

Permalink
Increase NATS server startup timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
S7evinK committed Jul 6, 2023
1 parent 49d75d3 commit e1d76de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup/jetstream/nats.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func (s *NATSInstance) Prepare(process *process.ProcessContext, cfg *config.JetS
process.ComponentFinished()
}()
}
if !s.ReadyForConnections(time.Second * 10) {
if !s.ReadyForConnections(time.Second * 60) {
logrus.Fatalln("NATS did not start in time")
}
// reuse existing connections
Expand Down

0 comments on commit e1d76de

Please sign in to comment.