Commit a6387dd8 authored by rlgy's avatar rlgy

update

parent e4ddd791
...@@ -57,7 +57,7 @@ class BillJob extends BaseObject implements JobInterface ...@@ -57,7 +57,7 @@ class BillJob extends BaseObject implements JobInterface
} }
} }
if (!$f) { if (!$f) {
\Yii::$app->queue->delay(3 * 60)->push(new BillJob(['id' => $this->id, 'txid' => $this->txid, 'chain' => $this->chain, 'from' => $this->from])); \Yii::$app->queue->delay(5)->push(new BillJob(['id' => $this->id, 'txid' => $this->txid, 'chain' => $this->chain, 'from' => $this->from]));
print "Fail: {$this->id}.\n"; print "Fail: {$this->id}.\n";
} }
return 0; return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment