Skip to content

Commit

Permalink
Issue #198: Fix time calculation for autoclosing
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwiz committed Jan 2, 2019
1 parent 3b05654 commit 7bf39ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phplib/Job/Autoclose.php
Expand Up @@ -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);

Expand Down

0 comments on commit 7bf39ec

Please sign in to comment.