You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that the messenger:stop-workers command is not implemented. This is not a problem however i am struggling a but to implement the factory myself where the command requires a CacheItemPoolInterface
Any guide on how to handle this? It would be a good addition to add the factory to this lib i suppose.
Thanks!
The text was updated successfully, but these errors were encountered:
With the above, a factory for the command would then look up the service id in symfony.messenger.signalCachePool and fetch that from the container.
In order for the command to do anything, the listener StopWorkerOnRestartSignalListener has to be attached to each worker - this listener also needs the same cache pool.
The main problem for this lib is that the Stop command will need to be optional because its factory will throw an exception when there's no cache pool configured - we can't provide some kind of default cache because the cache needs to be distributed in order for it to work between processes.
Hey,
I noticed that the
messenger:stop-workers
command is not implemented. This is not a problem however i am struggling a but to implement the factory myself where the command requires aCacheItemPoolInterface
Any guide on how to handle this? It would be a good addition to add the factory to this lib i suppose.
Thanks!
The text was updated successfully, but these errors were encountered: