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
Normally jobs in an Express app require some sort of access to the application object, where locals hold references to db & redis adapters, and configuration.
The current klass_finder.js architecture seems to prevent me from writing a job handler that has access to the current application context.
Injecting my own klassFinder into a worker might be one way for me to control construction of the job class handlers, so that I can pass the app context.
The text was updated successfully, but these errors were encountered:
Normally jobs in an Express app require some sort of access to the application object, where locals hold references to db & redis adapters, and configuration.
The current klass_finder.js architecture seems to prevent me from writing a job handler that has access to the current application context.
Injecting my own klassFinder into a worker might be one way for me to control construction of the job class handlers, so that I can pass the app context.
The text was updated successfully, but these errors were encountered: