mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 03:08:27 +08:00
master: emit warning if datasets will not be stored
This commit is contained in:
parent
a533f2a0cd
commit
5199bea353
@ -119,6 +119,9 @@ class DatasetManager:
|
||||
if persist:
|
||||
broadcast = True
|
||||
|
||||
if not (broadcast or archive):
|
||||
logger.warning(f"Dataset '{key}' will not be stored. Both 'broadcast' and 'archive' are set to False.")
|
||||
|
||||
if broadcast:
|
||||
self._broadcaster[key] = persist, value
|
||||
elif key in self._broadcaster.raw_view:
|
||||
|
Loading…
Reference in New Issue
Block a user