ENH:Attempt to add timeout to get, put, post#2
Conversation
|
Dan Allan (@danielballan) give this a shot |
|
That looks good. I took a quick look at the docs for |
|
Thomas A Caswell (@tacaswell) and I picked 2, we were off by a second and a half :). I think even 4.5 wouldn't hurt given olog also authenticates. I will test it and make the corresponding changes to the PR |
|
Attn cmazzoli This should solve the issue with the Olog subscription hanging scans. If the Olog does not respond after ~4 seconds, an error will be raised in Python. The RunEngine will catch that error, print a warning, and continue with the scan. |
|
attn arkilic By coincidence, when I visited CSX to install the updated pyolog, the Olog happened to be down (what are the odds?!) and so I had the opportunity to test that, with this upgrade, bluesky is able to run the scan after a ~5 second delay, showing a warning about a ReadTImeoutError. |
|
Mission accomplished with a 27 character commit 👍 |
No description provided.