···18181919public static class LdSignature
2020{
2121- private static readonly ActivitySource _activitySource = new("Iceshrimp.NET/LdSignature", VersionHelpers.VersionInfo.Value.Version);
2121+ private static readonly ActivitySource ActivitySource = new("Iceshrimp.NET/LdSignature", VersionHelpers.VersionInfo.Value.Version);
22222323 public static Task<bool> VerifyAsync(JArray activity, JArray rawActivity, string key, string? keyId = null)
2424 {
···31313232 public static async Task<bool> VerifyAsync(JObject activity, JObject rawActivity, string key, string? keyId = null)
3333 {
3434- using var traceActivity = _activitySource.StartActivity("LD Signature Verify");
3434+ // ReSharper disable once ExplicitCallerInfoArgument
3535+ using var traceActivity = ActivitySource.StartActivity("LD Signature Verify");
3536 traceActivity?.AddTag("key", keyId);
36373738 var options = activity[$"{Constants.W3IdSecurityNs}#signature"];
···62636364 public static async Task<JObject> SignAsync(JObject activity, string key, string? creator)
6465 {
6565- using var _ = _activitySource.StartActivity("LD Sign");
6666+ // ReSharper disable once ExplicitCallerInfoArgument
6767+ using var _ = ActivitySource.StartActivity("LD Sign");
66686769 var options = new SignatureOptions
6870 {
+1-1
Iceshrimp.Backend/Core/Services/QueueService.cs
···516516 }
517517 else
518518 {
519519- _logger.LogTrace("Job in queue {queue} was delayed to {time} after {duration} ms, has been queued since {time}",
519519+ _logger.LogTrace("Job in queue {queue} was delayed to {newTime} after {duration} ms, has been queued since {origTime}",
520520 name, job.DelayedUntil.Value.ToLocalTime().ToStringIso8601Like(), job.Duration,
521521 job.QueuedAt.ToLocalTime().ToStringIso8601Like());
522522 db.ChangeTracker.Clear();
···229229230230 if (dryRun)
231231 {
232232- logger.LogInformation("Finished validating {count} files, of which {count} would have been fixed up.",
232232+ logger.LogInformation("Finished validating {fileCount} files, of which {fixupCount} would have been fixed up.",
233233 progress, modified);
234234 }
235235 else
236236 {
237237- logger.LogInformation("Finished validating {count} files, of which {count} have been fixed up.",
237237+ logger.LogInformation("Finished validating {fileCount} files, of which {fixupCount} have been fixed up.",
238238 progress, modified);
239239 }
240240 }