Closed
Description
Description
I do have a redis time series with retention set to a value > 0
When I want to change the retention back to 0 (disable it for this series), no change is done.
I think there may be an bug in the code in index.js line 127
:
function pushRetentionArgument(args, retention) {
if (retention) {
args.push('RETENTION', retention.toString());
}
return args;
}
if retention === 0, it will not be added to the args array.
kind regards!
Node.js Version
v16.16.0
Redis Server Version
6.2.7
Node Redis Version
4.6.5
Platform
macOS
Logs
No response