Add retention period for new time series

This commit is contained in:
2025-07-03 15:52:56 -04:00
parent 7c359dd775
commit f406e3e01d

View File

@@ -151,6 +151,8 @@ export class RedisParkingRepository extends BaseRedisRepository implements Parki
await this.redisClient.sendCommand([
'TS.CREATE',
timeSeriesKey,
'RETENTION',
'2678400000', // one month
'LABELS',
'structureId',
structureId