1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-04 09:32:48 -05:00

remove alive job

This commit is contained in:
Kyle Spearrin
2019-11-04 07:43:15 -05:00
parent f6d610e4e4
commit 9da83cbdc3
2 changed files with 13 additions and 5 deletions

View File

@ -72,7 +72,7 @@ namespace Bit.Admin
services.Configure<RouteOptions>(options => options.LowercaseUrls = true);
// Jobs service
Jobs.JobsHostedService.AddJobsServices(services);
Jobs.JobsHostedService.AddJobsServices(services, globalSettings.SelfHosted);
services.AddHostedService<Jobs.JobsHostedService>();
if(globalSettings.SelfHosted)
{