snikket-im / snikket-web-proxy

Apache License 2.0
6 stars 8 forks source link

Increase restart attempt threshold for proxy? #11

Open decentral1se opened 2 years ago

decentral1se commented 2 years ago

Currently receiving this message on every deploy for the proxy service:

INFO gave up: nginx entered FATAL state, too many start retries too quickly

I then restart it and everything is fine because the portal/server came up then. In our config, depends_on is not supported in swarm mode so this service dies fast not waiting around for the others.

decentral1se commented 2 years ago

Seems this would need to be configured.

https://github.com/Supervisor/supervisor/issues/487 seems to show that this isn't yet configurable from supervisor side?

This seems like a fine work-around:

https://github.com/Supervisor/supervisor/issues/487#issuecomment-292556138

Can send a PR if this is ok? A recommendation on sleep time would be good.