DiamondLightSource / DiamondLightSource/davidia

Plot server should gracefully handle endpoint clients vanishing

Open
#164 0 comments 0 reactions 1 assignee Claimed by @VictoriaBeilsten-Edmands View on GitHub
Dominant language
TypeScript
Stars
5
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Killing a benchmarking script early seems to disrupt the plot server. It does not respond to a new script running after that. Maybe it is waiting for the old http requester to respond...

To reproduce,
```
cd server
python davidia/demos/benchmark.py -t add_data 5 10240 64 128
# ctrl-c to kill script once it has ran for 2s
python davidia/demos/benchmark.py -t heatmap
# should see a heatmap in plot_0
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.