project8 / dripline

Slow controls for medium scale physics experiments based on AMQP centralized messaging
http://www.project8.org/dripline
1 stars 0 forks source link

Proposal for Handling Long-Running Actions #173

Open nsoblath opened 7 years ago

nsoblath commented 7 years ago

Problem

In some cases actions started by a Dripline request (e.g. via an OP_CMD) are long-running, so the reply is not sent until long after the standard timeout for the client (10 seconds is typical). This situation requires the user to know that the command is long-running and set an appropriate custom timeout.

Proposed Solution

The basic idea is that we let the service, which is performing the action, inform the client that it's working, and that the client should wait longer for a response.

Here are the details:

laroque commented 7 years ago

A few notes, consistent with the above:

Questions: