0
pablo@ccalp.net created
- ABP Framework version: v7.4.x
- UI Type: Angular
- Database System: EF Core (SQL Server)
I'm deploying ABP to Azure app services, I'm worried that the messages I'm sending using the service bus end up in the staging slot and are processed by an outdated version of my application. I can see in application insights that both my production and staging slots are connected to the same topic. Does the framework already control that or do I have to somehow disable the service bus on the staging slot?
I was having the same issue with Hangfire, but I solved it this way:
Configure<AbpBackgroundJobOptions>(options =>
{
options.IsJobExecutionEnabled = !hostingEnvironment.IsStaging();
});
Thanks.
1 Answer(s)
-
0
hi
You can override the
DistributedEventBus
inStating
and then do nothing.