Skip to content

Commit 005e563

Browse files
authored
Reload command (#1671)
1 parent f4e05f9 commit 005e563

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/HorizonServiceProvider.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,10 @@ protected function registerCommands()
132132
Console\TimeoutCommand::class,
133133
Console\WorkCommand::class,
134134
]);
135+
136+
if (method_exists($this, 'reloads')) {
137+
$this->reloads('horizon:terminate', 'queue');
138+
}
135139
}
136140

137141
$this->commands([

0 commit comments

Comments
 (0)