unbreak prune task
This commit is contained in:
parent
f2073ab712
commit
e5c845a159
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ fn cmd_prune() {
|
|||
let mut con = REDIS_CLIENT.get_connection().unwrap();
|
||||
|
||||
let prune_after = SystemTime::now()
|
||||
.sub(Duration::from_secs(60))
|
||||
.sub(Duration::from_secs(60 * 15))
|
||||
.duration_since(SystemTime::UNIX_EPOCH)
|
||||
.unwrap()
|
||||
.as_secs();
|
||||
|
|
Loading…
Add table
Reference in a new issue