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

Lock controller during fetching #19

Open
albireox opened this issue Jul 13, 2023 · 0 comments
Open

Lock controller during fetching #19

albireox opened this issue Jul 13, 2023 · 0 comments

Comments

@albireox
Copy link
Member

During fetching we often see a TIMEOUT status that causes the controller to go into ERROR state, although the fetching completes normally.

The TIMEOUT seems caused by one of the STATUS or SYSTEM commands that are issued all the time by cerebro and others. In b53f8cd I prevented these timeouts from setting the ERROR bit in ControllerStatus, but there should be a better solution. Probably this mostly happens during fetching because it's the most CPU intensive operation for the Archon. We can add a lock during fetching so that status and system commands are prevented to run until fetching completes. Fetching doesn't call those commands so it should be fine.

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

No branches or pull requests

1 participant