0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-11-19 16:20:51 +01:00

Increase NATS server startup timeout

This commit is contained in:
Till Faelligen 2023-07-06 10:04:46 +02:00
parent 49d75d3cf6
commit e1d76de6c6
No known key found for this signature in database
GPG key ID: ACCDC9606D472758

View file

@ -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