mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-05-13 21:33:41 +00:00
4683d47259
- 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