fix deletes interval
This commit is contained in:
parent
9f93ceec13
commit
1ecd9eecff
|
@ -43,8 +43,8 @@ $cli
|
||||||
{
|
{
|
||||||
Resque::enqueue(Event::DELETE_QUEUE_NAME, Event::DELETE_CLASS_NAME, [
|
Resque::enqueue(Event::DELETE_QUEUE_NAME, Event::DELETE_CLASS_NAME, [
|
||||||
'type' => DELETE_TYPE_USAGE_STATS,
|
'type' => DELETE_TYPE_USAGE_STATS,
|
||||||
'timestamp1d' => $interval1d,
|
'timestamp1d' => time() - $interval1d,
|
||||||
'timestamp30m' => $interval30m,
|
'timestamp30m' => time() - $interval30m,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue