Skip to content

Commit f5e8d3c

Browse files
author
Jonas Gauffin
committed
activated background jobs
1 parent e6eb221 commit f5e8d3c

File tree

4 files changed

+3
-11
lines changed

4 files changed

+3
-11
lines changed

src/Server/Coderr.Server.WebSite/ClientApp/src/app/incidents/details/bugreports/bugreports.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ <h2 class="text-shadow-1 text-white">Bug reports (sent from users)</h2>
3232
<div class="panel">
3333
<h2 class="text-white text-shadow-1">Send status updates</h2>
3434
<div class="fill p-5">
35-
<p>There are currently {{emails.length}} user(s) waiting to here about this bug. Write them a small status update.</p>
35+
<p>There are currently {{emails.length}} user(s) waiting to hear about this bug. Write them a small status update.</p>
3636
<form class="form" [formGroup]="form" >
3737
<div class="form-group">
3838
<label>Subject</label>

src/Server/Coderr.Server.WebSite/Infrastructure/CoderrStartup.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,6 @@ public void ConfigureEnd(IApplicationBuilder applicationBuilder)
109109
_appModuleStarter.Start(context);
110110
_logger.Info("Coderr started successfully.");
111111
};
112-
113-
114112
}
115113

116114
public void BeginConfigureServices(IServiceCollection services)

src/Server/Coderr.Server.WebSite/Infrastructure/Modules/BackgroundJobsForAnalyzer.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,7 @@ public void Start(StartContext context)
3030
_backgroundJobManager.StartInterval = TimeSpan.FromSeconds(Debugger.IsAttached ? 0 : 10);
3131
_backgroundJobManager.ExecuteInterval = TimeSpan.FromSeconds(Debugger.IsAttached ? 10 : 30);
3232
_backgroundJobManager.ScopeClosing += OnBackgroundJobScopeClosing;
33-
HostConfig.Instance.Configured += (sender, args) =>
34-
{
35-
_backgroundJobManager.Start();
36-
};
33+
_backgroundJobManager.Start();
3734
}
3835

3936
public void Stop()

src/Server/Coderr.Server.WebSite/Infrastructure/Modules/BackgroundJobsForApp.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,7 @@ public void Start(StartContext context)
3030
_backgroundJobManager.StartInterval = TimeSpan.FromSeconds(Debugger.IsAttached ? 0 : 10);
3131
_backgroundJobManager.ExecuteInterval = TimeSpan.FromSeconds(Debugger.IsAttached ? 10 : 30);
3232
_backgroundJobManager.ScopeClosing += OnBackgroundJobScopeClosing;
33-
HostConfig.Instance.Configured += (sender, args) =>
34-
{
35-
_backgroundJobManager.Start();
36-
};
33+
_backgroundJobManager.Start();
3734
}
3835

3936

0 commit comments

Comments
 (0)