Facades act like singletons, which is a problem for queue worker daemons. #240
adrianspacely
started this conversation in
Show and tell
Replies: 2 comments 6 replies
-
|
Thanks for your share. |
Beta Was this translation helpful? Give feedback.
4 replies
-
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Facades behave like singletons in that they resolve once, and each use of the facade is against the same instance. For multitenancy, this is problematic in a queue environment in that:
I wanted to share this here for anyone that has run into the same problem. Hope it's helpful.
We added this switch tenant task. Each time the tenant is forgotten (switched/unset), we will clear all facade instances in the
Appnamespace including real-time facades:Beta Was this translation helpful? Give feedback.
All reactions