Skip to content

Commit d8dd548

Browse files
committed
Fix queue getDriver()
1 parent fa7f750 commit d8dd548

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/queue/src/Driver/DatabaseQueueDriver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ function () use ($now, $query) {
107107
try {
108108
$data = $this->db->prepare($query)->get();
109109
} catch (\Exception $e) {
110-
if ($this->db->driver::shouldAutoReconnect($e)) {
110+
if ($this->db->getDriver()::shouldAutoReconnect($e)) {
111111
// DB should already auto reconnect, if reconnect failed, we force queue restart.
112112
UnrecoverableException::throwFrom($e);
113113
}

0 commit comments

Comments
 (0)