moonlibs / xqueue

Imbue tarantool space with power of queue
15 stars 12 forks source link

Fix dead taker #16

Open ochaton opened 3 years ago

ochaton commented 3 years ago

The dead takers now alarms alive takers to reduce wait time for the next ready task. Read more info in commit message https://github.com/moonlibs/xqueue/commit/46744c7f4e6fd54d8de63d0494e62e67d5262c22

It is possible to replace take-* channels with fiber.cond() but it will lead to enormous fiber wakeups on high load systems