Improve bugzilla2fedmsg logging and increase heartbeat

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2024-06-25 08:18:50 +02:00
parent 60ee3db1fc
commit 7f0370ea4d
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD

View file

@ -38,7 +38,7 @@ certfile = "/etc/pki/fedora-messaging/bugzilla2fedmsg-cert.pem"
queue = "/queue/Consumer.fedorainfra.DO-NOT-COPY.VirtualTopic.eng.bugzilla.>"
# Heartbeat to keep the connection open
heartbeat = 1000
heartbeat = 10000
# How many messages to prefetch
prefetch_size = 100
@ -59,7 +59,7 @@ version = 1
disable_existing_loggers = true
[log_config.formatters.simple]
format = "[%(name)s %(levelname)s] %(message)s"
format = "%(asctime)s [%(name)s %(levelname)s] %(message)s"
[log_config.handlers.console]
class = "logging.StreamHandler"