Skip to content

Convert to WP Plugin #7

Description

@UVLabs

Right now Freemius limits the webhooks execution to 10 seconds. This is not ideal since the Mautic API can take a while to process the logic it needs to.

I can foresee that as a mautic install grows, it would take more time to run the processes Coach Freem is asking it to. One such process is to search for a contact when only given the email: https://github.com/UVLabs/coach-freem/blob/1.1.3/includes/Contacts/Base.php#L60

It would be best to save the webhook received by Freemius for later processing instead of trying to run all the logic while the webhook is limited to 10 seconds.

Converting Coach to a plugin will also make it easier to get started with for other Freemius users not big on editing code.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions