Skip to content

Commit 4eff5c6

Browse files
freekmurzeclaude
andauthored
Make CrawlCommand implement Isolatable to prevent overlapping runs (#57)
Fixes #56 Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 9bbee80 commit 4eff5c6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Commands/CrawlCommand.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
namespace Spatie\SiteSearch\Commands;
44

55
use Illuminate\Console\Command;
6+
use Illuminate\Contracts\Console\Isolatable;
67
use Spatie\SiteSearch\Models\SiteSearchConfig;
78

8-
class CrawlCommand extends Command
9+
class CrawlCommand extends Command implements Isolatable
910
{
1011
public $signature = 'site-search:crawl {--sync}';
1112

0 commit comments

Comments
 (0)