Support » Plugin: wpMandrill » wpmandrill sets a 120 second time limit on process after sending an email

  • rsouthgate

    (@rsouthgate)


    In mandrill.class.php within function http_request the method calls set_time_limit(2*60) which limits the process. This is causing issues in long running processes… specifically, with woocommerce subscriptions background task processor that attempts to take subscriptions payments and then sends emails to users/admins which hooks into the wpMandrill plugin. The process will always get terminated 120 seconds later.

    Since the curl opts also has a timeout is there any need for the plugin to force the process to limit itself here?

  • The topic ‘wpmandrill sets a 120 second time limit on process after sending an email’ is closed to new replies.