1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 00:05:29 +00:00

Add new horizon queue

This commit is contained in:
Daniel Supernault 2021-08-30 00:38:12 -06:00
parent e1277d4081
commit 07e8ddf8eb
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -81,6 +81,7 @@ return [
'waits' => [ 'waits' => [
'redis:feed' => 30, 'redis:feed' => 30,
'redis:default' => 30, 'redis:default' => 30,
'redis:low' => 30,
'redis:high' => 30, 'redis:high' => 30,
'redis:delete' => 30 'redis:delete' => 30
], ],
@ -166,7 +167,7 @@ return [
'production' => [ 'production' => [
'supervisor-1' => [ 'supervisor-1' => [
'connection' => 'redis', 'connection' => 'redis',
'queue' => ['high', 'default', 'feed', 'delete'], 'queue' => ['high', 'default', 'feed', 'low', 'delete'],
'balance' => 'auto', 'balance' => 'auto',
'maxProcesses' => 20, 'maxProcesses' => 20,
'memory' => 128, 'memory' => 128,
@ -178,7 +179,7 @@ return [
'local' => [ 'local' => [
'supervisor-1' => [ 'supervisor-1' => [
'connection' => 'redis', 'connection' => 'redis',
'queue' => ['high', 'default', 'feed', 'delete'], 'queue' => ['high', 'default', 'feed', 'low', 'delete'],
'balance' => 'auto', 'balance' => 'auto',
'maxProcesses' => 20, 'maxProcesses' => 20,
'memory' => 128, 'memory' => 128,