Manual:$wgHTTPMaxTimeout

HTTP client: $wgHTTPMaxTimeout
The maximum HTTP request timeout in seconds.
Introduced in version:1.35.0 (Gerrit change 596539; git #504fe2af)
Removed in version:Still in use
Allowed values:(float or integer)
Default value:0 (1.38+)
INF (1.35-1.37)

Details

edit

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.

Zero is interpreted as "no limit".