mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
Introduce max batch size, and configurable publish window
Still need to implement queue size limit Also fixes env var consistency between addon and consumer
This commit is contained in:
2
env/consumer.env
vendored
2
env/consumer.env
vendored
@@ -1,6 +1,6 @@
|
||||
TZ=London/Europe
|
||||
MONGODB_URI=mongodb://mongo:mongo@mongodb/selfhostio?tls=false&authSource=admin
|
||||
POSTGRES_DATABASE_URI=postgres://postgres:postgres@postgres/selfhostio
|
||||
DATABASE_URI=postgres://postgres:postgres@postgres/selfhostio
|
||||
RABBIT_URI=amqp://guest:guest@rabbitmq:5672/?heartbeat=30
|
||||
QUEUE_NAME=ingested
|
||||
JOB_CONCURRENCY=5
|
||||
|
||||
6
env/producer.env
vendored
6
env/producer.env
vendored
@@ -1,4 +1,10 @@
|
||||
ScrapeConfiguration__StorageConnectionString=host=postgres;username=postgres;password=postgres;database=selfhostio;
|
||||
RabbitMqConfiguration__Host=rabbitmq
|
||||
RabbitMqConfiguration__QueueName=ingested
|
||||
RabbitMqConfiguration__Username=guest
|
||||
RabbitMqConfiguration__Password=guest
|
||||
RabbitMqConfiguration__Durable=true
|
||||
RabbitMqConfiguration__MaxQueueSize=1000
|
||||
RabbitMqConfiguration__MaxPublishBatchSize=100
|
||||
RabbitMqConfiguration__PublishIntervalInSeconds=10
|
||||
GithubSettings__PAT=
|
||||
Reference in New Issue
Block a user