mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-22 14:19:03 +00:00
Upgrading dotnet version to 6.0.300 (#1947)
This commit is contained in:
@ -33,7 +33,7 @@ public class TimerTasks {
|
||||
var expiredJobs = _jobOperations.SearchExpired();
|
||||
|
||||
await foreach (var job in expiredJobs) {
|
||||
_logger.Info($"stopping expired job. job_id:{job.JobId }");
|
||||
_logger.Info($"stopping expired job. job_id:{job.JobId}");
|
||||
await _jobOperations.Stopping(job, _taskOperations);
|
||||
}
|
||||
|
||||
|
@ -66,7 +66,7 @@ public class TaskOperations : StatefulOrm<Task, TaskState>, ITaskOperations {
|
||||
}
|
||||
|
||||
public IAsyncEnumerable<Task> SearchExpired() {
|
||||
var timeFilter = $"end_time lt Datetime'{DateTimeOffset.UtcNow.ToString("o") }'";
|
||||
var timeFilter = $"end_time lt Datetime'{DateTimeOffset.UtcNow.ToString("o")}'";
|
||||
return QueryAsync(filter: timeFilter);
|
||||
}
|
||||
|
||||
|
@ -149,7 +149,7 @@ namespace ApiService.OneFuzzLib.Orm {
|
||||
});
|
||||
|
||||
if (func != null) {
|
||||
_logTracer.Info($"processing state update: {typeof(T)} - PartitionKey {_partitionKeyGetter?.Value() } {_rowKeyGetter?.Value() } - %s");
|
||||
_logTracer.Info($"processing state update: {typeof(T)} - PartitionKey {_partitionKeyGetter?.Value()} {_rowKeyGetter?.Value()} - %s");
|
||||
return await func(entity);
|
||||
}
|
||||
return null;
|
||||
|
Reference in New Issue
Block a user