Rostislav Wolny
910eb812c0
Improve variable name in WordPress cron trigger check
...
[MAILPOET-5165]
2023-04-04 18:45:41 +02:00
Rostislav Wolny
cbd5c443f2
Ensure that subscriber stats are sent even for valid underprivileged keys
...
[MAILPOET-5165]
2023-04-04 18:45:41 +02:00
Brezo Cordero
7e66adcc0b
Remove check for active migration
...
[MAILPOET-4478]
2023-01-23 15:35:50 +01:00
Jan Lysý
ce3b9b2b7b
Remove redundant variables
...
[MAILPOET-3995]
2023-01-02 12:07:24 +01:00
Jan Lysý
1a653c5676
Add small code style improvements
...
[MAILPOET-3995]
2023-01-02 12:07:24 +01:00
Jan Lysý
85a8d8aedb
Move more specific conditions into private methods
...
[MAILPOET-3995]
2023-01-02 12:07:24 +01:00
Jan Lysý
5c453fcd54
Add list of simple workers
...
To avoid code repetition I added a const with a list of simple workers that was used in a loop.
[MAILPOET-3995]
2023-01-02 12:07:24 +01:00
Jan Jakes
926620e8f8
Ignore strict types rule in all existing files that don't have it
...
[MAILPOET-2688]
2022-11-29 15:04:09 +01:00
Rostislav Wolny
e33539c5ca
Prevent triggering cron when sending is waiting for retry
...
[MAILPOET-4686]
2022-10-13 14:21:43 +02:00
Jan Lysý
97801cfe25
Remove usage of Sending::getScheduledQueues
...
[MAILPOET-4367]
2022-09-19 11:07:16 +02:00
Jan Lysý
bf74a506b7
Replace using Sending::getRunningQueues
...
[MAILPOET-4366]
2022-08-19 15:11:23 +02:00
David Remer
33e5e15e98
Remove MailPoet Trigger
...
[MAILPOET-4271]
2022-05-09 13:06:28 +02:00
Rostislav Wolny
fe2397a65e
Optimize WordPress cron trigger SQL
...
Majority of scheduled tasks DB records are completed tasks.
We check completed tasks only for Migration worker task type.
Excluding other workers' completed tasks significantly speeds up the query
on sites with longer history. E.g. on mailpoet.com the query sped up from 0.6s to 0.003s.
[MAILPOET-4314]
2022-05-09 10:19:20 +02:00
Rodrigo Primo
4113c35dc7
Replace Paris code with Doctrine in \MailPoet\Cron\Triggers\WordPress
...
[MAILPOET-4140]
2022-05-05 19:14:21 +02:00
David Remer
8879e505e2
Exit early when the runInterval is -1
...
By default checkRunInterval will always return true because there is no way
the time which has passed since the last run is smaller than -1. To prevent
unnecessary code execution and an not needed SQL insert, we can return true
in checkRunInterval() early.
[MAILPOET-4267]
2022-05-02 13:09:12 +02:00
Brezo Cordero
ba1da229a8
Add SimpleWorker to calculate Subscriber email_counts
...
[MAILPOET-4177]
2022-04-07 10:17:38 +02:00
Jan Jakes
9f790efbf0
Move plugin files to a subfolder
...
[MAILPOET-3988]
2022-01-18 15:30:22 +01:00