Skip to content

Commit

Permalink
Use microseconds instead of ticks
Browse files Browse the repository at this point in the history
  • Loading branch information
elsand committed Sep 4, 2024
1 parent 17d6544 commit 9c7c9d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public async Task<SynchronizeResourceRegistryResult> Handle(SynchronizeSubjectRe
// Get the last updated timestamp from parameter, or the database (with a time skew), or use a default
var lastUpdated = request.Since
?? await _subjectResourceRepository.GetLastUpdatedAt(
timeSkew: TimeSpan.FromTicks(1),
timeSkew: TimeSpan.FromMicroseconds(1),
cancellationToken: cancellationToken);

_logger.LogInformation("Fetching updated subject-resources since {LastUpdated:O}.", lastUpdated);
Expand Down

0 comments on commit 9c7c9d1

Please sign in to comment.