Nuria has uploaded a new change for review.

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

Change subject: Restore batch sizes as insertion rates are too slow
......................................................................

Restore batch sizes as insertion rates are too slow

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


  git pull ssh://gerrit.wikimedia.org:29418/eventlogging 
refs/changes/84/258384/1

diff --git a/eventlogging/handlers.py b/eventlogging/handlers.py
index 79bf236..a7c8993 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 = 3000
+        batch_size = 5000
         batch_time = 300  # in seconds
         # Max number of batches pending insertion.
-        queue_size = 100
+        queue_size = 1000
         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/258384
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

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

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

Reply via email to