DiamondLightSource / DiamondLightSource/blueapi

Server cannot be interrupted while plan is running

Open
#250 0 comments 0 reactions 0 assignees View on GitHub
bug c: worker
Dominant language
Python
Stars
13
Forks
13
Avg merge
2d 11h
Merged PRs (30d)
25

Description

While a plan is running, trying to interrupt the server does nothing until the plan is finished.

```bash
$ blueapi serve
```
\+
```bash
$ blueapi controller run sleep '{"time": 60}'
```
Sending `Ctrl-C`/`sigint` to the server process will display the `INFO: Shutting down` message but then waits the full 60s for the plan to complete before shutting down.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.