Pooya Parsa
Pooya Parsa
> is this really the case? Are we actually calling these configs multiple times, or only once per request? In fact, the configuration is only called once per request. Therefore,...
> Please let me know if your custom queue config is properly namespaced and autoloaded. Can you make `dd(config('Datamweb\DadAfza\Config\Queue'))` to verify that? 
> Do you have multiple config files or just one? @michalsn , thank you! I have two configuration files, one in path **Datamweb\DadAfza\Config\Queue** and the other in path **Config\Queue**, but...
> Can you share the reason for two different config files? The reason I need two configuration files is that I’m writing the project as a package, and in the...
> Can you investigate what is happening in the services file by adding `d()` and `dd()`?  What is clear is that the service successfully receives the passed configuration file(**Datamweb\DadAfza\Config\Queue**)....
> Ok, so you get the error not when you `push` to the queue, but when you use the command `queue:work`? Yes. > The problem is that the worker (and...
Honestly, I prefer integration. That means when I use the service with a custom configuration, I expect the workers to automatically detect it. Maybe using cache to store the name...
@michalsn thanks for following up on this issue. To work around the problem in my project, I used *Registrar*. In any case, it seems that removing the config file injection...
> 1. add `Time::toDatabase()` and make it configurable with Config file for it. I think this issue should be resolved in the framework, it's not just for Shield and anyone...
@mikeabbott10 Kenji made some changes to solve this problem, if you can check from the develop branch.