Subramanya Sastry has uploaded a new change for review.

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

Change subject: Reduce Parsoid request timeout to 110s
......................................................................

Reduce Parsoid request timeout to 110s

Bug: T152073
Change-Id: I8e83dd16c4ad0fe9b617899be97e3571f8b4bdfb
---
M scap/templates/config.yaml.j2
1 file changed, 4 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/parsoid/deploy 
refs/changes/08/325708/1

diff --git a/scap/templates/config.yaml.j2 b/scap/templates/config.yaml.j2
index 5e36d4c..4692dd8 100644
--- a/scap/templates/config.yaml.j2
+++ b/scap/templates/config.yaml.j2
@@ -44,10 +44,9 @@
       useBatchAPI: true
       usePHPPreProcessor: true
 
-      # RESTBase uses 2 minutes timeouts for the first request
-      # and a higher value subsequently.
+      # RESTBase uses a 2 minute timeout for the first request.
       #
-      # Set a 3 minute timeout so that RESTBase retries have
-      # a chance of succeeding.
+      # Set ours to 110s so we time out before RB times out and retries.
+      # This prevents RB from retrying slow requests # altogether.
       timeouts:
-        request: 180000  # 3 minutes
+        request: 110000  # 110 sec

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8e83dd16c4ad0fe9b617899be97e3571f8b4bdfb
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/parsoid/deploy
Gerrit-Branch: master
Gerrit-Owner: Subramanya Sastry <[email protected]>

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

Reply via email to