diff options
author | Valery Piashchynski <[email protected]> | 2021-01-19 18:10:39 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2021-01-19 18:10:39 +0300 |
commit | 0ff05b2732b4fd0783f959c94c54d7e39169f979 (patch) | |
tree | f50aa894ea4e5b402332f7f4a13b8c50ebb09126 /interfaces/events/pool_events.go | |
parent | 75ebbaac89ce8ebc3ab8de47b16e137844cfcd8a (diff) | |
parent | d8e42927b63a0b102ce10d465a10d64bb6c02e22 (diff) |
Merge pull request #487 from spiral/refactor/server_log_messagesv2.0.0-beta9
refactor(errors, logs): Uniform all errors operations, Update server log level of the server log messages
Diffstat (limited to 'interfaces/events/pool_events.go')
-rw-r--r-- | interfaces/events/pool_events.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/interfaces/events/pool_events.go b/interfaces/events/pool_events.go index d1464e1a..2cc76eee 100644 --- a/interfaces/events/pool_events.go +++ b/interfaces/events/pool_events.go @@ -1,5 +1,6 @@ package events +// TODO event numbers const ( // EventWorkerConstruct thrown when new worker is spawned. EventWorkerConstruct P = iota + 7800 @@ -19,7 +20,7 @@ const ( // EventMaxMemory caused when worker consumes more memory than allowed. EventMaxMemory - // EventTTL thrown when worker is removed due TTL being reached. Context is rr.WorkerError + // EventTTL thrown when worker is removed due TTL being reached. TTL defines maximum time worker is allowed to live (seconds) EventTTL // EventIdleTTL triggered when worker spends too much time at rest. |