diff options
Diffstat (limited to 'interfaces/events')
-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. |