mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
fix lost messages when queuing many files
This commit is contained in:
parent
222fb48378
commit
138f38d1f3
@ -160,6 +160,8 @@ CHANNEL_LAYERS = {
|
|||||||
"BACKEND": "channels_redis.core.RedisChannelLayer",
|
"BACKEND": "channels_redis.core.RedisChannelLayer",
|
||||||
"CONFIG": {
|
"CONFIG": {
|
||||||
"hosts": [os.getenv("PAPERLESS_REDIS", "redis://localhost:6379")],
|
"hosts": [os.getenv("PAPERLESS_REDIS", "redis://localhost:6379")],
|
||||||
|
"capacity": 2000, # default 100
|
||||||
|
"expiry": 15, # default 60
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user