Skip to content

Commit

Permalink
Fix wentDownAt having wrong time if using retryAfter (#17991)
Browse files Browse the repository at this point in the history
  • Loading branch information
brianwozeniak authored and taylorotwell committed Feb 19, 2017
1 parent eb1ea6e commit 6024d4d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function __construct($time, $retryAfter = null, $message = null, Exceptio
if ($retryAfter) {
$this->retryAfter = $retryAfter;

$this->willBeAvailableAt = $this->wentDownAt->addSeconds($this->retryAfter);
$this->willBeAvailableAt = Carbon::createFromTimestamp($time)->addSeconds($this->retryAfter);
}
}
}

0 comments on commit 6024d4d

Please sign in to comment.