Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Update app/Console/Commands/CleanupRedis.php

Andras Bacsai9f87d499dd36
diff --git a/app/Console/Commands/CleanupRedis.php b/app/Console/Commands/CleanupRedis.php
index 9cbe221bff..f6a2de75b8 100644
--- a/app/Console/Commands/CleanupRedis.php
+++ b/app/Console/Commands/CleanupRedis.php
@@ -294,11 +294,10 @@ class CleanupRedis extends Command
foreach ($allKeys as $key) {
// Match cache lock keys: they contain 'laravel-queue-overlap'
- if (str_contains($key, 'laravel-queue-overlap')) {
+ if (preg_match('/overlap/i', $key)) {
$lockKeys[] = $key;
}
}
-
if (empty($lockKeys)) {
$this->info(' No cache locks found.');