Find a way to lower the ask timeout implications
mdbergmann opened this issue · comments
Timeout is currently very expensive as a thread is spawned with a sleep
.
For sure there is a better approach than wasting a full thread.
Two useful packages:
- for timeouts: https://github.com/npatrick04/timer-wheel
- for scheduler: https://github.com/endsec/scheduler
Implemented with f6c38bc