- Changed the kill delay from 30 seconds to 2 seconds in the configuration. - Refactored the server startup process to include a retry mechanism for binding to the port, addressing potential issues during hot-reload scenarios. - Added a new function, listenWithRetry, to handle port binding with exponential backoff, improving server reliability during restarts. |
||
|---|---|---|
| .. | ||
| main.go | ||