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

fix(api): add 10s delay after updating the plate reader to give time to boot-up. #16882

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,8 @@ async def update_device(self, firmware_file_path: str) -> Tuple[bool, str]:
log.debug(f"Updating {self.name}: {self.port} with {firmware_file_path}")
self._updating = True
success, res = await self._driver.update_firmware(firmware_file_path)
# it takes time for the plate reader to re-init after an update.
await asyncio.sleep(10)
self._device_info = await self._driver.get_device_info()
await self._poller.start()
self._updating = False
Expand Down
Loading