chore: lint
This commit is contained in:
parent
b2e4ff38e3
commit
de5973a832
@ -4,7 +4,7 @@ using NodaTime;
|
||||
|
||||
namespace PluralKit.API;
|
||||
|
||||
public class MetricsRunner : IHostedService, IDisposable
|
||||
public class MetricsRunner: IHostedService, IDisposable
|
||||
{
|
||||
private readonly Serilog.ILogger _logger;
|
||||
private readonly IMetrics _metrics;
|
||||
|
@ -26,7 +26,7 @@ public class Startup
|
||||
options.InvalidModelStateResponseFactory = context =>
|
||||
throw Errors.GenericBadRequest
|
||||
);
|
||||
|
||||
|
||||
services.AddHostedService<MetricsRunner>();
|
||||
}
|
||||
|
||||
|
@ -648,8 +648,8 @@
|
||||
},
|
||||
"Serilog": {
|
||||
"type": "Transitive",
|
||||
"resolved": "2.10.0",
|
||||
"contentHash": "+QX0hmf37a0/OZLxM3wL7V6/ADvC1XihXN4Kq/p6d8lCPfgkRdiuhbWlMaFjR9Av0dy5F0+MBeDmDdRZN/YwQA=="
|
||||
"resolved": "2.12.0",
|
||||
"contentHash": "xaiJLIdu6rYMKfQMYUZgTy8YK7SMZjB4Yk50C/u//Z4OsvxkUfSPJy4nknfvwAC34yr13q7kcyh4grbwhSxyZg=="
|
||||
},
|
||||
"Serilog.Extensions.Hosting": {
|
||||
"type": "Transitive",
|
||||
@ -752,23 +752,29 @@
|
||||
},
|
||||
"Serilog.Sinks.File": {
|
||||
"type": "Transitive",
|
||||
"resolved": "4.1.0",
|
||||
"contentHash": "U0b34w+ZikbqWEZ3ui7BdzxY/19zwrdhLtI3o6tfmLdD3oXxg7n2TZJjwCCTlKPgRuYic9CBWfrZevbb70mTaw==",
|
||||
"resolved": "5.0.0",
|
||||
"contentHash": "uwV5hdhWPwUH1szhO8PJpFiahqXmzPzJT/sOijH/kFgUx+cyoDTMM8MHD0adw9+Iem6itoibbUXHYslzXsLEAg==",
|
||||
"dependencies": {
|
||||
"Serilog": "2.5.0",
|
||||
"System.IO.FileSystem": "4.0.1",
|
||||
"System.Text.Encoding.Extensions": "4.0.11",
|
||||
"System.Threading.Timer": "4.0.1"
|
||||
"Serilog": "2.10.0"
|
||||
}
|
||||
},
|
||||
"Serilog.Sinks.PeriodicBatching": {
|
||||
"type": "Transitive",
|
||||
"resolved": "2.1.1",
|
||||
"contentHash": "L1iZtcEzQdEIYCPvhYJYB2RofPg+i1NhHJfS+DpXLyLSMS6OXebqaI1fxWhmJRIjD9D9BuXi23FkZTQDiP7cHw==",
|
||||
"resolved": "3.1.0",
|
||||
"contentHash": "NDWR7m3PalVlGEq3rzoktrXikjFMLmpwF0HI4sowo8YDdU+gqPlTHlDQiOGxHfB0sTfjPA9JjA7ctKG9zqjGkw==",
|
||||
"dependencies": {
|
||||
"Serilog": "2.0.0",
|
||||
"System.Collections.Concurrent": "4.0.12",
|
||||
"System.Threading.Timer": "4.0.1"
|
||||
"Serilog": "2.0.0"
|
||||
}
|
||||
},
|
||||
"Serilog.Sinks.Seq": {
|
||||
"type": "Transitive",
|
||||
"resolved": "5.2.2",
|
||||
"contentHash": "1Csmo5ua7NKUe0yXUx+zsRefjAniPWcXFhUXxXG8pwo0iMiw2gjn9SOkgYnnxbgWqmlGv236w0N/dHc2v5XwMg==",
|
||||
"dependencies": {
|
||||
"Serilog": "2.12.0",
|
||||
"Serilog.Formatting.Compact": "1.1.0",
|
||||
"Serilog.Sinks.File": "5.0.0",
|
||||
"Serilog.Sinks.PeriodicBatching": "3.1.0"
|
||||
}
|
||||
},
|
||||
"SqlKata": {
|
||||
@ -1633,14 +1639,15 @@
|
||||
"NodaTime.Serialization.JsonNet": "[3.0.0, )",
|
||||
"Npgsql": "[4.1.5, )",
|
||||
"Npgsql.NodaTime": "[4.1.5, )",
|
||||
"Serilog": "[2.10.0, )",
|
||||
"Serilog": "[2.12.0, )",
|
||||
"Serilog.Extensions.Logging": "[3.0.1, )",
|
||||
"Serilog.Formatting.Compact": "[1.1.0, )",
|
||||
"Serilog.NodaTime": "[3.0.0, )",
|
||||
"Serilog.Sinks.Async": "[1.4.1-dev-00071, )",
|
||||
"Serilog.Sinks.Console": "[4.0.0-dev-00834, )",
|
||||
"Serilog.Sinks.Elasticsearch": "[8.4.1, )",
|
||||
"Serilog.Sinks.File": "[4.1.0, )",
|
||||
"Serilog.Sinks.File": "[5.0.0, )",
|
||||
"Serilog.Sinks.Seq": "[5.2.2, )",
|
||||
"SqlKata": "[2.3.7, )",
|
||||
"SqlKata.Execution": "[2.3.7, )",
|
||||
"StackExchange.Redis": "[2.2.88, )",
|
||||
|
@ -744,8 +744,8 @@
|
||||
},
|
||||
"Serilog": {
|
||||
"type": "Transitive",
|
||||
"resolved": "2.10.0",
|
||||
"contentHash": "+QX0hmf37a0/OZLxM3wL7V6/ADvC1XihXN4Kq/p6d8lCPfgkRdiuhbWlMaFjR9Av0dy5F0+MBeDmDdRZN/YwQA=="
|
||||
"resolved": "2.12.0",
|
||||
"contentHash": "xaiJLIdu6rYMKfQMYUZgTy8YK7SMZjB4Yk50C/u//Z4OsvxkUfSPJy4nknfvwAC34yr13q7kcyh4grbwhSxyZg=="
|
||||
},
|
||||
"Serilog.AspNetCore": {
|
||||
"type": "Transitive",
|
||||
@ -864,23 +864,29 @@
|
||||
},
|
||||
"Serilog.Sinks.File": {
|
||||
"type": "Transitive",
|
||||
"resolved": "4.1.0",
|
||||
"contentHash": "U0b34w+ZikbqWEZ3ui7BdzxY/19zwrdhLtI3o6tfmLdD3oXxg7n2TZJjwCCTlKPgRuYic9CBWfrZevbb70mTaw==",
|
||||
"resolved": "5.0.0",
|
||||
"contentHash": "uwV5hdhWPwUH1szhO8PJpFiahqXmzPzJT/sOijH/kFgUx+cyoDTMM8MHD0adw9+Iem6itoibbUXHYslzXsLEAg==",
|
||||
"dependencies": {
|
||||
"Serilog": "2.5.0",
|
||||
"System.IO.FileSystem": "4.0.1",
|
||||
"System.Text.Encoding.Extensions": "4.0.11",
|
||||
"System.Threading.Timer": "4.0.1"
|
||||
"Serilog": "2.10.0"
|
||||
}
|
||||
},
|
||||
"Serilog.Sinks.PeriodicBatching": {
|
||||
"type": "Transitive",
|
||||
"resolved": "2.1.1",
|
||||
"contentHash": "L1iZtcEzQdEIYCPvhYJYB2RofPg+i1NhHJfS+DpXLyLSMS6OXebqaI1fxWhmJRIjD9D9BuXi23FkZTQDiP7cHw==",
|
||||
"resolved": "3.1.0",
|
||||
"contentHash": "NDWR7m3PalVlGEq3rzoktrXikjFMLmpwF0HI4sowo8YDdU+gqPlTHlDQiOGxHfB0sTfjPA9JjA7ctKG9zqjGkw==",
|
||||
"dependencies": {
|
||||
"Serilog": "2.0.0",
|
||||
"System.Collections.Concurrent": "4.0.12",
|
||||
"System.Threading.Timer": "4.0.1"
|
||||
"Serilog": "2.0.0"
|
||||
}
|
||||
},
|
||||
"Serilog.Sinks.Seq": {
|
||||
"type": "Transitive",
|
||||
"resolved": "5.2.2",
|
||||
"contentHash": "1Csmo5ua7NKUe0yXUx+zsRefjAniPWcXFhUXxXG8pwo0iMiw2gjn9SOkgYnnxbgWqmlGv236w0N/dHc2v5XwMg==",
|
||||
"dependencies": {
|
||||
"Serilog": "2.12.0",
|
||||
"Serilog.Formatting.Compact": "1.1.0",
|
||||
"Serilog.Sinks.File": "5.0.0",
|
||||
"Serilog.Sinks.PeriodicBatching": "3.1.0"
|
||||
}
|
||||
},
|
||||
"SixLabors.ImageSharp": {
|
||||
@ -1830,14 +1836,15 @@
|
||||
"NodaTime.Serialization.JsonNet": "[3.0.0, )",
|
||||
"Npgsql": "[4.1.5, )",
|
||||
"Npgsql.NodaTime": "[4.1.5, )",
|
||||
"Serilog": "[2.10.0, )",
|
||||
"Serilog": "[2.12.0, )",
|
||||
"Serilog.Extensions.Logging": "[3.0.1, )",
|
||||
"Serilog.Formatting.Compact": "[1.1.0, )",
|
||||
"Serilog.NodaTime": "[3.0.0, )",
|
||||
"Serilog.Sinks.Async": "[1.4.1-dev-00071, )",
|
||||
"Serilog.Sinks.Console": "[4.0.0-dev-00834, )",
|
||||
"Serilog.Sinks.Elasticsearch": "[8.4.1, )",
|
||||
"Serilog.Sinks.File": "[4.1.0, )",
|
||||
"Serilog.Sinks.File": "[5.0.0, )",
|
||||
"Serilog.Sinks.Seq": "[5.2.2, )",
|
||||
"SqlKata": "[2.3.7, )",
|
||||
"SqlKata.Execution": "[2.3.7, )",
|
||||
"StackExchange.Redis": "[2.2.88, )",
|
||||
|
Loading…
Reference in New Issue
Block a user