Closed thisisdev-patrick closed 2 months ago
Description WaitForTask using CPU when Idle (simulation included)
Expected behavior 0 % CPU
Current behavior 4000 Calls to WaitForTask causing 10-15% CPU usage
Screenshots or Logs Arch: MacOS:
Environment (please complete the following information):
Simulation code:
https://gist.github.com/thisisdev-patrick/da24fb4757820c611e2ea696d2e93953
Hello @thisisdev-patrick thanks for the report
Any PRs are welcome to help on this 🙏
working on it
Description WaitForTask using CPU when Idle (simulation included)
Expected behavior 0 % CPU
Current behavior 4000 Calls to WaitForTask causing 10-15% CPU usage
Screenshots or Logs Arch:
MacOS:
![image](https://github.com/meilisearch/meilisearch-go/assets/5593142/f95a5bd9-4bbf-44b6-9592-7140afeae854)
Environment (please complete the following information):
Simulation code:
https://gist.github.com/thisisdev-patrick/da24fb4757820c611e2ea696d2e93953