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

[BUG] The manager.py and agent.py is not stopping when it's requested #64

Open
rabits opened this issue Sep 8, 2020 · 0 comments
Open
Labels
bug Something isn't working
Milestone

Comments

@rabits
Copy link
Member

rabits commented Sep 8, 2020

Issue description:

Right now the first term signal is just triggering the termination processes for the service, but not actually shutting down the service. Second one is terminating the process, but it's a second one. It should automatically shutdown when everything is stopped: Agent should stop when it's latest render is downloaded and Manager should stop when all the data is received from the Agents, processed and tasks were saved to continue later.

Environment:

  • Application version: 0.2.0

Steps to reproduce:

Steps to reproduce the behavior:

  1. Run BlendNet Agent or Manager
  2. Press Ctrl-C
  3. It will say about termination
  4. Wait - it will do nothing
  5. Press Ctrl-C again
  6. The service is terminated

Additional

It's not critical for clouds (just a bit delaying the termination process), but for local provider it could be bad to maintenance.

@rabits rabits added the bug Something isn't working label Sep 8, 2020
@rabits rabits added this to the v0.4.0 milestone Sep 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant