bluesky / bluesky-queueserver

Server for queueing plans
https://blueskyproject.io/bluesky-queueserver/
BSD 3-Clause "New" or "Revised" License
11 stars 20 forks source link

`timeout` parameter for 0MQ API #262

Closed dmgav closed 1 year ago

dmgav commented 1 year ago

Added new timeout parameter for ZMQCommSendThreads.send_message(), ZMQCommSendAsync.send_message() and zmq_single_request() functions. The timeout overrides the default timeout timeout_recv set during instantiation of the respective classes for the particular request. The parameter is useful for implementation of some unit tests.

Some code refactoring to improve efficiency of logging and processing of submitted plans and functions. The changes are not expected to affect functionality of RE Manager.

Summary of Changes for Release Notes

Fixed

Added

Changed

Removed

How Has This Been Tested?

Additional unit tests are added.