0
brauerj@gc.adventist.org created
-
ABP Framework version: v9.09
-
UI Type: Blazor Server
-
Database System: EF Core (SQL Server)
-
Steps to reproduce the issue:
-
Start or restart application in Visual Studio using the Project (rather than IIS Express)
-
The command line runs but hangs or delays for a long time at:
[14:13:53 DBG] Started background worker: Volo.Abp.BackgroundJobs.BackgroundJobWorker
[14:13:53 DBG] Started background worker: Volo.Abp.Identity.Session.IdentitySessionCleanupBackgroundWorker
[14:13:53 DBG] Started background worker: Volo.Abp.OpenIddict.Tokens.TokenCleanupBackgroundWorker
[14:13:54 DBG] Started background worker: Volo.Abp.AuditLogging.ExpiredAuditLogDeleterWorker
Restarting AGAIN (sometimes several times) can fix it.
1 Answer(s)
-
0
Hi,
The application and also your code behaviour can be different in the debug mode and they won't be optimized for the best performance.
You can try disabling BackgroundWorkers in debug mode if you don't need at your work and make the starting process faster
#if DEBUG Configure<AbpBackgroundWorkerOptions>(options =>{ options.IsEnabled = false; }); #endif