Manual:$wgHTTPImportTimeout

Timeout for HTTP requests done internally for transwiki imports, in seconds.