diff options
author | Valery Piashchynski <[email protected]> | 2021-01-11 13:00:52 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-01-11 13:00:52 +0300 |
commit | c4112cd214a9c7cbed82c82eefc75904fb42d1af (patch) | |
tree | 680cc5f0d3f9a0d78a944e026568af61c12bd87e /config.go | |
parent | 5dc83ef5eee77f4d1ef557e5f8b566e75892680d (diff) |
Update CI
Format imports and code
Distinct internal and app errors
Diffstat (limited to 'config.go')
-rw-r--r-- | config.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -8,6 +8,9 @@ import ( // Config defines basic behaviour of worker creation and handling process. type Config struct { + // Error code for pool errors in the http handler (default 500) + PoolErrorCode uint64 + // NumWorkers defines how many sub-processes can be run at once. This value // might be doubled by Swapper while hot-swap. NumWorkers int64 |