fixed road runner integration

This commit is contained in:
pushrbx 2023-01-30 20:35:55 +00:00
parent c78d8cd333
commit ff5068bf27
3 changed files with 8 additions and 6 deletions

View File

@ -113,7 +113,7 @@ http:
# Maximal count of worker executions. Zero (or nothing) means no limit.
#
# Default: 0
max_jobs: 64
max_jobs: 1
# Timeout for worker allocation. Zero means no limit.
#
@ -205,6 +205,8 @@ reload:
# Default: false
recursive: true
patterns: [ ".php", ".go", ".md" ]
# Ignored folders.
#
# Default: []

View File

@ -47,7 +47,7 @@ http:
# Host and port to listen on (eg.: `127.0.0.1:8080`).
#
# This option is required.
address: 0.0.0.0:8080
address: 0.0.0.0:8000
# HTTP access logs
#
@ -113,7 +113,7 @@ http:
# Maximal count of worker executions. Zero (or nothing) means no limit.
#
# Default: 0
max_jobs: 64
max_jobs: 1
# Timeout for worker allocation. Zero means no limit.
#
@ -205,6 +205,8 @@ reload:
# Default: false
recursive: true
patterns: [ ".php", ".go", ".md" ]
# Ignored folders.
#
# Default: []

View File

@ -354,11 +354,9 @@ class AppServiceProvider extends ServiceProvider
public static function servicesToWarm(): array
{
// todo: test again with roadrunner -- specific issue: typesense driver not loaded in time
$services = [
ScoutSearchService::class,
UnitOfWork::class,
CachedScraperService::class
UnitOfWork::class
];
if (Env::get("SCOUT_DRIVER") === "typesense") {