mirror of
https://github.com/bitwarden/server.git
synced 2025-06-06 03:00:36 -05:00
log keepalive task
This commit is contained in:
parent
a9da624b1d
commit
d0abd413ba
@ -22,7 +22,10 @@ namespace Bit.Admin.Jobs
|
|||||||
|
|
||||||
protected async override Task ExecuteJobAsync(IJobExecutionContext context)
|
protected async override Task ExecuteJobAsync(IJobExecutionContext context)
|
||||||
{
|
{
|
||||||
await _httpClient.GetAsync(_globalSettings.BaseServiceUri.Admin);
|
_logger.LogInformation(Constants.BypassFiltersEventId, "Execute job task: Keep alive");
|
||||||
|
var response = await _httpClient.GetAsync(_globalSettings.BaseServiceUri.Admin);
|
||||||
|
_logger.LogInformation(Constants.BypassFiltersEventId, "Finished job task: Keep alive, " +
|
||||||
|
response.StatusCode);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user