The Timer Swiftlet manages internal timers of a SwiftMQ router.
There are 2 attributes in the Timer Swiftlet's configuration which can be configured.
The first is "min-delay". It specifies the number of milliseconds the internal dispatcher has to wait at a minimum before it checks its dispatch queue to fire outstanding timers. This delay is useful to avoid very short delays such as 1 millisecond. These very short delays can have impact on CPU usage so it is recommended to use the default value of 100 milliseconds here. The dispatcher then waits at least this amount of time and fires all outstanding timers at once.
The second attribute is "max-delay". It specifies the number of milliseconds the dispatcher waits at a maximum to check its dispatch queue. This delay avoids that the dispatcher waits too long in case the system time has been changed while the router is running, for example, due to summer / winter time changes. The default value is 10 seconds (10000 milliseconds), so the dispatcher checks its dispatch queue at least every 10 seconds for outstanding timers. If it detects system time changes during dispatch, it rebuilds its dispatch queue automatically and uses the new system time for all registered timers.