further optimize callback receiver buffering for certain situations

see: https://github.com/ansible/awx/issues/9085
This commit is contained in:
Ryan Petrello
2021-01-14 14:43:54 -05:00
parent d88ed19edf
commit b744c4ebb7
2 changed files with 6 additions and 3 deletions

View File

@@ -196,9 +196,9 @@ LOCAL_STDOUT_EXPIRE_TIME = 2592000
# events into the database
JOB_EVENT_WORKERS = 4
# The number of seconds (must be an integer) to buffer callback receiver bulk
# The number of seconds to buffer callback receiver bulk
# writes in memory before flushing via JobEvent.objects.bulk_create()
JOB_EVENT_BUFFER_SECONDS = 1
JOB_EVENT_BUFFER_SECONDS = .1
# The interval at which callback receiver statistics should be
# recorded