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
Instead of making the message queue as a singleton, init it in a component and pass it as a dependency to the http server.
This forces us to pass the message queue explicitly to the functions instead of using the singleton queue. This helps in testing as we can use different queues for different tests and not depend on one globally defined queue.
The text was updated successfully, but these errors were encountered:
Instead of making the message queue as a singleton, init it in a component and pass it as a dependency to the http server.
This forces us to pass the message queue explicitly to the functions instead of using the singleton queue. This helps in testing as we can use different queues for different tests and not depend on one globally defined queue.
The text was updated successfully, but these errors were encountered: