Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeout parameter in stepEventLoop gets ignored #436

Open
mo-xiaoming opened this issue Feb 24, 2022 · 0 comments · May be fixed by cg-cognition/hobbes#1
Open

Timeout parameter in stepEventLoop gets ignored #436

mo-xiaoming opened this issue Feb 24, 2022 · 0 comments · May be fixed by cg-cognition/hobbes#1

Comments

@mo-xiaoming
Copy link
Contributor

If the timeoutMS parameter is anything other than -1

  1. If there are any timers, this timeout gets ignored
  2. otherwise, epoll_wait timeouts out on this, but stepEventLoop doesn't exit
staging-devin-ai-integration bot added a commit to cg-cognition/hobbes that referenced this issue Dec 7, 2024
- Respect user-provided timeout when timers exist
- Exit loop when epoll_wait times out with no events/timers

Fixes morganstanley#436
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant