Skip to content

Commit f8b6c6b

Browse files
committed
Update on_update to be blocking by default
1 parent a2a7808 commit f8b6c6b

File tree

1 file changed

+5
-1
lines changed
  • src/fastcs/transports/epics/ca

1 file changed

+5
-1
lines changed

src/fastcs/transports/epics/ca/ioc.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,11 @@ def _make_record(
193193
)
194194
attribute_record_metadata = record_metadata_from_attribute(attribute)
195195

196-
update = {"always_update": True, "on_update": on_update} if on_update else {}
196+
update = (
197+
{"on_update": on_update, "always_update": True, "blocking": True}
198+
if on_update
199+
else {}
200+
)
197201

198202
record = builder_callable(
199203
pv, **update, **datatype_record_metadata, **attribute_record_metadata

0 commit comments

Comments
 (0)