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
When I'm using the @InjectTenancyModel to initialize any schema in service, in that particular service I won't be able to use @Cron job. I'm getting the following issue.
[Scheduler] Cannot register cron job "ServiceName@functionName" because it is defined in a non-static provider.
I tried to remove @InjectTenancyModel from service then it is working properly
The text was updated successfully, but these errors were encountered:
a problem with this library, it needs to be provided by an HTTP request to decide which tenant connection. So not only cronjob, any queue consumer or gRPC request won't be able to use this library to provide multi-tenancy database connection
When I'm using the @InjectTenancyModel to initialize any schema in service, in that particular service I won't be able to use @Cron job. I'm getting the following issue.
[Scheduler] Cannot register cron job "ServiceName@functionName" because it is defined in a non-static provider.
I tried to remove @InjectTenancyModel from service then it is working properly
The text was updated successfully, but these errors were encountered: