Beacon configuration for Redis data persistence
@matias.guijarro @meyer @papillon @pguillou
These parameters currently exist to define how long data stays in Redis:
- Length of a datastream for each data channel:
CHANNEL_MAX_LEN = 2048
- Expiration time of data channels after a scan:
DATA_EXPIRATION_TIME = 600 # 5 minutes
- Expiration time of scan/dataset metadata after ICAT confirmation and scan/dataset/sample/proposal metadata after the experiment:
PARENT_EXPIRATION_TIME = 24 * 3600 # 1 day
- Redis memory:
maxmemory 1073741824
Request:
- separate CHANNEL_MAX_LEN for 0D and 1D channels
- make all of them (except Redis maxmemory) configurable in the Beacon configuration (per session or for all sessions?)