Manual:$wgAPIMaxLagThreshold

Details
This should be lower than the 'max lag' value in .