Job naming prefix in case of shared hosting#55112
Closed
maierwalter wants to merge 4 commits intolaravel:12.xfrom
Closed
Job naming prefix in case of shared hosting#55112maierwalter wants to merge 4 commits intolaravel:12.xfrom
maierwalter wants to merge 4 commits intolaravel:12.xfrom
Conversation
possibility for prefixing name of jobs, so that if you have a shared hosting and 2 jobs with the same name that should run "onOneServer", it would still run for both environments
Contributor
|
You should use config instead of env because env is not available when config is cached |
Author
|
I've made a mistake and did not notice, I am sorry, working on fixing it |
Member
|
Thanks for your pull request to Laravel! Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include. If applicable, please consider releasing your code as a package so that the community can still take advantage of your contributions! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Possibility for prefixing name of jobs, so that if you have a shared hosting and 2 jobs with the same name that should run "onOneServer", it would still run for both environments. In case you don't have the property set in the env, the functionality will be the same without affecting current changes.
In order to solve this now, I have to add the prefix for each command in Kernel.