Manual:$wgHTTPMaxTimeout/en

Details
The maximum HTTP request timeout in seconds. If any specified or configured request timeout is larger than this, then this value will be used instead.