Skip to content

Commit c195a41

Browse files
committed
gh-418 Rename BackgroundProcessingAsync
Signed-off-by: Victor Chang <[email protected]>
1 parent 039e2e9 commit c195a41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/InformaticsGateway/Services/Scu/ScuService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public ScuService(IServiceScopeFactory serviceScopeFactory,
5656
_workQueue = _scope.ServiceProvider.GetService<IScuQueue>() ?? throw new ServiceNotFoundException(nameof(IScuQueue));
5757
}
5858

59-
private Task BackgroundProcessingAsync(CancellationToken cancellationToken)
59+
private Task BackgroundProcessing(CancellationToken cancellationToken)
6060
{
6161
_logger.ServiceRunning(ServiceName);
6262
while (!cancellationToken.IsCancellationRequested)
@@ -201,7 +201,7 @@ public Task StartAsync(CancellationToken cancellationToken)
201201
{
202202
var task = Task.Run(async () =>
203203
{
204-
await BackgroundProcessingAsync(cancellationToken).ConfigureAwait(false);
204+
await BackgroundProcessing(cancellationToken).ConfigureAwait(false);
205205
}, CancellationToken.None);
206206

207207
Status = ServiceStatus.Running;

0 commit comments

Comments
 (0)