It is not needed since Prime Mover defaults to a 15-second retry timeout. This means that Prime Mover has 15 seconds to process any task. If a process requires more than 15 seconds, it will exit and make another request, which will also take 15 seconds to continue processing. This is repeated until the entire process is completed.

15 seconds should be enough to avoid standard timeout settings, such as PHP’s default of 30 seconds or 60 seconds (or more, which most hosts implement).

If 15 seconds is still not enough because, for some reason, you still hit the short timeout (e.g., your host has a strict 30-second timeout), you can set it to a shorter duration, such as 10 seconds. Add this to your wp-config.php:

define('PRIME_MOVER_RETRY_TIMEOUT_SECONDS', 10);

Therefore, any process that is not completed within 10 seconds should exit and retry. A 10-second retry should now appear before hitting a 30-second timeout.

Was this article helpful?
YesNo