Skip to content
Snippets Groups Projects
Commit cbeb55dd authored by David Hammer's avatar David Hammer
Browse files

Remove incorrect locking

parent a017449a
No related branches found
No related tags found
2 merge requests!12Snapshot: field test deployed version as of end of run 202201,!3Base correction device, CalCat interaction, DSSC and AGIPD devices
...@@ -570,13 +570,13 @@ class BaseCorrection(PythonDevice): ...@@ -570,13 +570,13 @@ class BaseCorrection(PythonDevice):
**self._gpu_runner_init_args, **self._gpu_runner_init_args,
) )
with self._buffer_lock: # TODO: lock to avoid dict changing size underneath us
for ( for (
constant, constant,
data, data,
) in self.calcat_friend.cached_constants.items(): ) in self.calcat_friend.cached_constants.items():
self.log_status_info(f"Reload constant {constant}") self.log_status_info(f"Reload constant {constant}")
self._load_constant_to_gpu(constant, data) self._load_constant_to_gpu(constant, data)
self._has_updated_shapes = True self._has_updated_shapes = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment