Subramanya Sastry has uploaded a new change for review.
https://gerrit.wikimedia.org/r/258192
Change subject: Reduce request timeout to 3 minutes (from 4 minutes right now).
......................................................................
Reduce request timeout to 3 minutes (from 4 minutes right now).
RESTBase uses 2 minutes timeouts, so, 4 minutes on our end
does no good beyond getting us more requests that could fail.
Let us start with 3 minutes and see what this does and maybe
bump restbase to a higher value or parsoid to a lower value.
Change-Id: Ie7bec4deda1ea72e662e112ef1ba039439c4ae00
---
M conf/wmf/localsettings.js
1 file changed, 7 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/parsoid/deploy
refs/changes/92/258192/1
diff --git a/conf/wmf/localsettings.js b/conf/wmf/localsettings.js
index f5242a6..ef79194 100644
--- a/conf/wmf/localsettings.js
+++ b/conf/wmf/localsettings.js
@@ -17,6 +17,13 @@
// Allow cors as we are only running on non-sensitive domains
parsoidConfig.allowCORS = '*';
+ // RESTBase uses 2 minutes timeouts, so, 4 minutes on our end
+ // does no good beyond getting us more requests that could fail.
+ // Let us start with 3 minutes and see what this does and maybe
+ // bump restbase to a higher value or parsoid to a lower value.
+ parsoidConfig.timeouts.request = 3*60*1000; // 3 minutes
+ parsoidConfig.timeouts.cpu = 4*60*1000; // 4 minutes
+
parsoidConfig.setMwApi({
prefix: 'labswiki',
uri: 'https://wikitech.wikimedia.org/w/api.php',
--
To view, visit https://gerrit.wikimedia.org/r/258192
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie7bec4deda1ea72e662e112ef1ba039439c4ae00
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