mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
Add retention period for new time series
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user