fix(flomni): use cached read for sample-name poll in tomo params widget
CI for csaxs_bec / test (push) Successful in 2m19s
CI for csaxs_bec / test (push) Successful in 2m19s
The OMNY_TomoParams widget polled flomni_samples.sample_names.sample0 uncached every 2s to refresh a display label. Over a long interlock lock this produced thousands of RPC calls, overflowing the client's shared 100-entry request buffer (RequestStorage) and evicting a pending scan request, which stalled the queue with no error. The signal is auto-monitored and already live in Redis, so read it from there instead of round-tripping to the device server. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GCaaQQSYGCbkAsRnALWC3h
This commit is contained in:
1 parent
8bdd70eaf4
commit
5f6520214d
1 file changed
+1
-1
@@ -2351,7 +2351,7 @@ SETUP_PROFILES: dict[str, dict[str, Any]] = {
|
||||
"requested_to_stepsize": _requested_to_stepsize,
|
||||
"compute_fermat_positions": _compute_fermat_positions_flomni,
|
||||
"fermat_position_fields": ["tomo_shellstep", "fermat_asymmetry", "fovx", "fovy"],
|
||||
"sample_name_getter": lambda w: w.dev.flomni_samples.sample_names.sample0.get(),
|
||||
"sample_name_getter": lambda w: w.dev.flomni_samples.sample_names.sample0.get(cached=True),
|
||||
"cli_hint_name": "flomni",
|
||||
},
|
||||
"lamni": {
|
||||
|
||||
Reference in new issue
Block a user