mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-03 10:30:51 +08:00
fix: correct node_sync queue assignment in horizon
This commit is contained in:
@@ -22,7 +22,7 @@ class NodeUserSyncJob implements ShouldQueue
|
||||
private readonly string $action,
|
||||
private readonly ?int $oldGroupId = null
|
||||
) {
|
||||
$this->onQueue('notification');
|
||||
$this->onQueue('node_sync');
|
||||
}
|
||||
|
||||
public function handle(): void
|
||||
|
||||
@@ -60,7 +60,7 @@ return [
|
||||
|
||||
'prefix' => env(
|
||||
'HORIZON_PREFIX',
|
||||
Str::slug(env('APP_NAME', 'laravel'), '_').'_horizon:'
|
||||
Str::slug(env('APP_NAME', 'laravel'), '_') . '_horizon:'
|
||||
),
|
||||
|
||||
/*
|
||||
@@ -192,7 +192,7 @@ return [
|
||||
],
|
||||
'notification' => [
|
||||
'connection' => 'redis',
|
||||
'queue' => ['send_email', 'send_telegram', 'send_email_mass'],
|
||||
'queue' => ['send_email', 'send_telegram', 'send_email_mass', 'node_sync'],
|
||||
'balance' => 'auto',
|
||||
'autoScalingStrategy' => 'size',
|
||||
'minProcesses' => 1,
|
||||
@@ -214,6 +214,7 @@ return [
|
||||
'send_email_mass',
|
||||
'send_telegram',
|
||||
'user_alive_sync',
|
||||
'node_sync'
|
||||
],
|
||||
'balance' => 'auto',
|
||||
'minProcesses' => 1,
|
||||
|
||||
Reference in New Issue
Block a user