mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-04-02 15:55:50 +00:00
- Duration parameter was used for the timeout - The actual duration was harcoded with delays - When the worker times out, it means there are pending messages, therefor a new worker must be restarted now - Therefor we need to differenciate initialDelay and interval delay - All of this is more efficient if we use ms instead of seconds - We give an option to do not periodically restart the worker (intervalMs = 0) - Add comments