HomePhorge

[elasticsearch] Add timeout to API calls

Description

[elasticsearch] Add timeout to API calls

Summary:
Default of 300 seconds is more than likely too much in most cases.
Provide the option to override.

Test Plan:
Blocked ElasticSearch with iptables
Set timeout to 5 seconds and make sure we error early

Reviewers: epriestley, vrana

Reviewed By: vrana

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D2678

Details

Provenance
macvicarAuthored on Jun 8 2012, 12:06 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP5c5351b5e3f6: Minor, fix Dxxx in IRCBot.
Branches
Unknown
Tags
Unknown

Event Timeline