You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
self.log.warn(f"Failed to re-acquire sampling lock, "
f"currently held by {self._lock.job}.")
continue
This continue seems a bit sketchy as on the next iteration of the loop it'll try to release_and_acquire a second time, but having never actually re-acquired the lock...
The text was updated successfully, but these errors were encountered:
Agreed. Not sure what the right fix is. Probably needs to return xxx rather than continue. One could imagine trying to reacquire again, later... but really this shouldn't be happening so failing out is probably advisable.
I was just looking through the 372 agent usage of
release_and_acquire
and I'm confused by this behavior:socs/agents/lakeshore372/LS372_agent.py
Lines 202 to 205 in 4c8224e
This
continue
seems a bit sketchy as on the next iteration of the loop it'll try torelease_and_acquire
a second time, but having never actually re-acquired the lock...The text was updated successfully, but these errors were encountered: