This commit is contained in:
parent
6eb2009141
commit
6856ac718f
@ -20,7 +20,7 @@ export class RedisBlacklistStore extends Redis {
|
||||
}
|
||||
await this.redis.setex (
|
||||
`blacklist_${key}`,
|
||||
(valid_until.getTime () - Date.now ()) / 1000,
|
||||
Math.floor ((valid_until.getTime () - Date.now ()) / 1000),
|
||||
1
|
||||
);
|
||||
log ('saved key');
|
||||
|
Loading…
x
Reference in New Issue
Block a user