We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7cccd8e commit 0527a0fCopy full SHA for 0527a0f
src/Models/QueueJobModel.php
@@ -51,7 +51,7 @@ public function getFromQueue(string $name, array $priority): ?QueueJob
51
{
52
// For SQLite3 memory database this will cause problems
53
// so check if we're not in the testing environment first.
54
- if ($this->db->database !== ':memory:') {
+ if ($this->db->database !== ':memory:' && $this->db->connID !== false) {
55
// Make sure we still have the connection
56
$this->db->reconnect();
57
}
0 commit comments