Mforns has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/258982

Change subject: Reset low mysql consumer queue sizes
......................................................................

Reset low mysql consumer queue sizes

Bug: T121384
Change-Id: I9f062f23844dc3a934e7500062339c0726d25ac8
---
M eventlogging/handlers.py
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/eventlogging 
refs/changes/82/258982/1

diff --git a/eventlogging/handlers.py b/eventlogging/handlers.py
index a7c8993..79bf236 100644
--- a/eventlogging/handlers.py
+++ b/eventlogging/handlers.py
@@ -304,10 +304,10 @@
             # that the connection is alive, and reconnect if necessary.
             dbapi_connection.ping(True)
     try:
-        batch_size = 5000
+        batch_size = 3000
         batch_time = 300  # in seconds
         # Max number of batches pending insertion.
-        queue_size = 1000
+        queue_size = 100
         sleep_seconds = 5
         # Link the main thread to the worker thread so we
         # don't keep filling the queue if the worker died.

-- 
To view, visit https://gerrit.wikimedia.org/r/258982
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9f062f23844dc3a934e7500062339c0726d25ac8
Gerrit-PatchSet: 1
Gerrit-Project: eventlogging
Gerrit-Branch: master
Gerrit-Owner: Mforns <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to