Skip to content

Commit 0b8b88b

Browse files
authored
Merge pull request #112 from govigilant/develop
2026.2.1
2 parents 782d787 + fc5a97e commit 0b8b88b

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

packages/crawler/config/crawler.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@
55

66
'timeout' => env('CRAWLER_TIMEOUT', 5),
77
'connect_timeout' => env('CRAWLER_CONNECT_TIMEOUT', 2),
8+
9+
'crawls_per_minute' => (int) env('CRAWLER_CRAWLS_PER_MINUTE', 500),
810
];

packages/crawler/src/Commands/CrawlUrlsCommand.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,13 @@
1111

1212
class CrawlUrlsCommand extends Command
1313
{
14-
protected $signature = 'crawler:crawl {--count=500}';
14+
protected $signature = 'crawler:crawl';
1515

1616
protected $description = 'Crawl pending URLs';
1717

1818
public function handle(): int
1919
{
20-
/** @var int $count */
21-
$count = $this->option('count');
20+
$count = config()->integer('crawler.crawls_per_minute');
2221

2322
CrawledUrl::query()
2423
->withoutGlobalScopes()

packages/notifications/src/Http/Livewire/Tables/NotificationTable.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ protected function filters(): array
6565
BooleanFilter::make(__('Enabled'), 'enabled'),
6666
SelectFilter::make(__('Type'), 'notification')
6767
->options(
68-
collect(NotificationRegistry::notifications()) // @phpstan-ignore-line
69-
->mapWithKeys(fn (string $notification): array => [$notification => $notification::$name])
68+
collect(NotificationRegistry::notifications())
69+
->mapWithKeys(fn (string $notification): array => [$notification => $notification::$name]) // @phpstan-ignore-line
7070
->toArray()
7171
),
7272
];

packages/onboarding/src/Http/Middleware/RedirectToOnboard.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ public function handle(Request $request, Closure $next): Response
2727
$user->email_verified_at === null ||
2828
Route::is('onboard*') ||
2929
Route::is('livewire.*') ||
30+
Route::is('default.livewire.*') ||
3031
Route::is('quick-setup') ||
3132
! $shouldOnboard->shouldOnboard()
3233
) {

0 commit comments

Comments
 (0)