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.
|
# Maximal count of worker executions. Zero (or nothing) means no limit.
|
||||||
#
|
#
|
||||||
# Default: 0
|
# Default: 0
|
||||||
max_jobs: 64
|
max_jobs: 1
|
||||||
|
|
||||||
# Timeout for worker allocation. Zero means no limit.
|
# Timeout for worker allocation. Zero means no limit.
|
||||||
#
|
#
|
||||||
@ -205,6 +205,8 @@ reload:
|
|||||||
# Default: false
|
# Default: false
|
||||||
recursive: true
|
recursive: true
|
||||||
|
|
||||||
|
patterns: [ ".php", ".go", ".md" ]
|
||||||
|
|
||||||
# Ignored folders.
|
# Ignored folders.
|
||||||
#
|
#
|
||||||
# Default: []
|
# Default: []
|
||||||
|
@ -47,7 +47,7 @@ http:
|
|||||||
# Host and port to listen on (eg.: `127.0.0.1:8080`).
|
# Host and port to listen on (eg.: `127.0.0.1:8080`).
|
||||||
#
|
#
|
||||||
# This option is required.
|
# This option is required.
|
||||||
address: 0.0.0.0:8080
|
address: 0.0.0.0:8000
|
||||||
|
|
||||||
# HTTP access logs
|
# HTTP access logs
|
||||||
#
|
#
|
||||||
@ -113,7 +113,7 @@ http:
|
|||||||
# Maximal count of worker executions. Zero (or nothing) means no limit.
|
# Maximal count of worker executions. Zero (or nothing) means no limit.
|
||||||
#
|
#
|
||||||
# Default: 0
|
# Default: 0
|
||||||
max_jobs: 64
|
max_jobs: 1
|
||||||
|
|
||||||
# Timeout for worker allocation. Zero means no limit.
|
# Timeout for worker allocation. Zero means no limit.
|
||||||
#
|
#
|
||||||
@ -205,6 +205,8 @@ reload:
|
|||||||
# Default: false
|
# Default: false
|
||||||
recursive: true
|
recursive: true
|
||||||
|
|
||||||
|
patterns: [ ".php", ".go", ".md" ]
|
||||||
|
|
||||||
# Ignored folders.
|
# Ignored folders.
|
||||||
#
|
#
|
||||||
# Default: []
|
# Default: []
|
||||||
|
@ -354,11 +354,9 @@ class AppServiceProvider extends ServiceProvider
|
|||||||
|
|
||||||
public static function servicesToWarm(): array
|
public static function servicesToWarm(): array
|
||||||
{
|
{
|
||||||
// todo: test again with roadrunner -- specific issue: typesense driver not loaded in time
|
|
||||||
$services = [
|
$services = [
|
||||||
ScoutSearchService::class,
|
ScoutSearchService::class,
|
||||||
UnitOfWork::class,
|
UnitOfWork::class
|
||||||
CachedScraperService::class
|
|
||||||
];
|
];
|
||||||
|
|
||||||
if (Env::get("SCOUT_DRIVER") === "typesense") {
|
if (Env::get("SCOUT_DRIVER") === "typesense") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user