Permalink
Browse files

Issue #198: Fix time calculation for autoclosing

  • Loading branch information...
kiwiz committed Jan 2, 2019
1 parent 3b05654 commit 7bf39ec1f2acd2c69a23e72c7561fc48a728aa3e
Showing with 1 addition and 1 deletion.
  1. +1 −1 phplib/Job/Autoclose.php
@@ -34,7 +34,7 @@ public function run() {
'search_id' => $search['search_id'],
'state' => [Alert::ST_NEW, Alert::ST_INPROG],
'update_date' => [
ModelFinder::C_LT => $this->obj['target_date'] - ($search['autoclose_threshold'])
ModelFinder::C_LT => $this->obj['target_date'] - ($search['autoclose_threshold'] * 60)
]
], self::BATCH_SIZE);

0 comments on commit 7bf39ec

Please sign in to comment.