Bug fixing

This commit is contained in:
Your Name
2025-05-25 11:54:27 +12:00
parent 5f4f4e0ce6
commit b0e8f1f703

View File

@@ -78,4 +78,17 @@ Example config.json:
}
```
## Signal Handling
The server handles the following signals:
- `SIGTERM`/`SIGINT`: Gracefully shuts down the server when received (e.g. from Ctrl+C or system shutdown)
- `SIGHUP`: Reloads the server configuration without restarting the service
The server ensures proper cleanup of resources during shutdown, including:
- Closing all database connections
- Stopping the HTTP server
- Cleaning up any open file handles
- Properly terminating worker threads
Dockcross is used to cross-build for both 64-bit x86 and arm64 (combining both into one docker container image).