New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add lock name on email send command #9089
Conversation
Codecov Report
@@ Coverage Diff @@
## features #9089 +/- ##
===========================================
Coverage 31.84% 31.85%
- Complexity 33595 33597 +2
===========================================
Files 1946 1946
Lines 115966 115973 +7
===========================================
+ Hits 36933 36938 +5
- Misses 79033 79035 +2
|
@Dcoutelle do you mind checking this PR, it is your PR with minor fixes |
@RCheesley Please consider this as well |
@mabumusa1 this will be considered for 3.2 if we can get good tests :) Thanks for picking it up and making the necessary updates, we just haven't had enough time to test. |
@npracht will be great if you can take a quick look at this |
Thank you for your contribution! We require all contributors to sign our Contributor License Agreement, and we do not have a record of your signature on file. In order for us to review and merge your code, please head over to https://www.mautic.org/contributor-agreement and complete the form. There may be a short delay while the team add you as a contributor - please be patient :). Any problems contact @RCheesley. CLA has not been signed by @drprofesq. |
You removed the ability to add a name to email process from #8617 ( see https://github.com/Webmecanik/mautic/blob/5c9525dacb43c75986353bcbe13ee453535ebd00/app/bundles/EmailBundle/Command/ProcessEmailQueueCommand.php#L65 ) so the goal of this PR is different. |
Thank you for your contribution! We require all contributors to sign our Contributor License Agreement, and we do not have a record of your signature on file. In order for us to review and merge your code, please head over to https://www.mautic.org/contributor-agreement and complete the form. There may be a short delay while the team add you as a contributor - please be patient :). Any problems contact @RCheesley. CLA has not been signed by @drprofesq. |
Thank you for your contribution! We require all contributors to sign our Contributor License Agreement, and we do not have a record of your signature on file. In order for us to review and merge your code, please head over to https://www.mautic.org/contributor-agreement and complete the form. There may be a short delay while the team add you as a contributor - please be patient :). Any problems contact @RCheesley. CLA has not been signed by @drprofesq. |
Travis tests have failedHey @mabumusa1, 4th Buildif [ ${TRAVIS_PHP_VERSION:0:3} == "7.3" ]; then composer test -- --coverage-clover=coverage.xml; else composer test; fi
TravisBuddy Request Identifier: ba0a3ca0-1124-11eb-bfd1-1f84b849c73d |
@Dcoutelle please review again |
It look like ok to me, but I don't see the difference with my original PR to male TU work ? |
This is your commit, it will be attributed to you. but because we did not get a reply on it #8617 (comment) I duplicated this PR with your code to get the PR moving. This PR should be attributed to you |
I don't really care about PR attribution, I wanted to know why Unit Test are working now 😛 |
@npracht this one is ready |
We need a second reviewer |
@mabumusa1 @Dcoutelle happy to test but there are zero test instructions on either PR. Could somebody enlighten me please? |
@RCheesley This option allow to have serval email send process running in same time with different lock name. That means If you use queue email processing you can use multiple crons command in same time:
etc. It's really hard to test it properly. We use it in production |
This pull request has been mentioned on Mautic Forums. There might be relevant details there: https://forum.mautic.org/t/script-to-replace-the-mauticsend-cronjob/29624/7 |
Description:
This PR is fixes the failed tests for PR #8617
Steps to test this PR: