Manual:$wgAsyncHTTPTimeout

Details
Timeout for asynchronous http request that run in a background php process. Default to 20 minutes.