mirror of
https://github.com/jikan-me/jikan-rest.git
synced 2025-02-20 11:23:35 +08:00
fixed road runner integration
This commit is contained in:
parent
c78d8cd333
commit
ff5068bf27
@ -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: []
|
||||
|
@ -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: []
|
||||
|
@ -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") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user