aboutsummaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorTill Faelligen <2353100+S7evinK@users.noreply.github.com>2023-07-06 10:04:46 +0200
committerTill Faelligen <2353100+S7evinK@users.noreply.github.com>2023-07-06 10:04:46 +0200
commite1d76de6c69f7d9881b18e28080d82707b3d2383 (patch)
treef491334b7dbc7d155d3ede3af07f28f1db2d6337 /setup
parent49d75d3cf694f87c35b683769f5ffa473931c22a (diff)
Increase NATS server startup timeout
Diffstat (limited to 'setup')
-rw-r--r--setup/jetstream/nats.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup/jetstream/nats.go b/setup/jetstream/nats.go
index 06a58d54..e440879c 100644
--- a/setup/jetstream/nats.go
+++ b/setup/jetstream/nats.go
@@ -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