Commit 40cfabe
Don't close connection after each pass
Previously, the sim would close the connection and then start a new run upon re-connecting.
That wasn't compatible with libertem-live-server prototypes and didn't seem to correspond to the behavior
of the real detector software.
With this change, the sim will keep starting new acquisitions on the same connection
without closing it. This seems to work better.
Discusson with @sk1p: We should see if and when we want to simulate
the detector closing a connection. Effects of this change in the wild to be monitored!
Co-authored-by: Alexander Clausen <a.clausen@fz-juelich.de>1 parent 87664f9 commit 40cfabe
File tree
2 files changed
+1
-6
lines changed- docs/source/changelog/bugfix
- src/libertem_live/detectors/merlin
2 files changed
+1
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
580 | 580 | | |
581 | 581 | | |
582 | 582 | | |
583 | | - | |
584 | | - | |
585 | | - | |
586 | | - | |
587 | | - | |
588 | 583 | | |
589 | 584 | | |
590 | 585 | | |
| |||
0 commit comments