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

The runner controller stops the main control loop when starting model instances #620

Open
philwinder opened this issue Dec 3, 2024 · 0 comments
Labels
enhancement New feature or request scheduler Issues relating to the scheduler

Comments

@philwinder
Copy link
Member

The issue with this is that in every new UI request there's actually two requests, one for the user and one for the session name.

Because the session name comes in just after the user's, the session name job just sits there, scheduled but waiting, until the initial user job has started. Then the main loop comes back around and pulls the second slot.

Refactor so models start in another goroutine to allow the poll loop to continue.

@philwinder philwinder added bug Something isn't working scheduler Issues relating to the scheduler enhancement New feature or request and removed bug Something isn't working labels Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request scheduler Issues relating to the scheduler
Projects
None yet
Development

No branches or pull requests

1 participant