Manual:$wgRequestTimeLimit/cs

Details
Set a limit on server request wall clock time.

If the Excimer extension is enabled, setting this will cause an exception to be thrown after the specified number of seconds. If the extension is not available, set_time_limit will be called instead.