-
Notifications
You must be signed in to change notification settings - Fork 8
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
Add ability to enable dev shm streaming on eiger #560
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor nit, but looks good
@@ -144,6 +144,9 @@ def stop(self, *args): | |||
self.disarm_detector() | |||
stop_status &= self.disable_roi_mode() | |||
stop_status.wait(self.GENERAL_STATUS_TIMEOUT) | |||
# See https://github.com/DiamondLightSource/hyperion/issues/1395 | |||
LOGGER.info("Turning off Eiger dev/shm streaming") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: If we have enable_dev_shm
set to off, I think we will get a logging message during change_dev_shm
, and in Hyperion when XRC finishes, and again here - all saying that dev shm is being disabled
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that given the consequence of leaving it on accidentally is very bad it's actually good to be very specific in the logs that we're turning it off even if that doesn't actually matter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, makes sense
See DiamondLightSource/hyperion#1372
Instructions to reviewer on how to test:
Checks for reviewer