Closed jagthedrummer closed 6 years ago
Seems like the mgr options should be merged with the default options?
Oh yeah, that sounds like it makes sense. Should that happen within this initialize
method? Or in the manager itself somewhere?
I think Launcher should do it. That’s the public API people (like you) will use.
On Mar 17, 2018, at 14:47, Jeremy Green notifications@github.com wrote:
Oh yeah, that sounds like it makes sense. Should that happen within this initialize method? Or in the manager itself somewhere?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
Ok, just pushed the change to have the Launcher
merge the options before passing them to the Manager
.
I'm using the
Launcher
to start a worker, and in the log for the worker I'm seeing this error:This change allows fallback to the main Faktory reloader if the manager doesn't supply one. (And this fixes the problem I'm having.)
The code I'm using to start a worker is:
Maybe instead of falling back like this, the proper solution is to pass some kind of reloader argument to the
Lanucher
? I'm not sure...