Bug fixing
This commit is contained in:
13
README.md
13
README.md
@@ -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).
|
Dockcross is used to cross-build for both 64-bit x86 and arm64 (combining both into one docker container image).
|
||||||
|
Reference in New Issue
Block a user