Update dependencies
This commit is contained in:
@ -52,7 +52,7 @@ final class SQLiteDatabase {
|
||||
private let registeredPlayerCountMetric: Metric<Int>
|
||||
|
||||
init(database: Database, mail: Configuration.EMail?) async throws {
|
||||
self.registeredPlayerCountMetric = try await Metric(
|
||||
self.registeredPlayerCountMetric = Metric(
|
||||
"schafkopf.players",
|
||||
name: "Number of users",
|
||||
description: "The total number of user accounts")
|
||||
|
@ -28,15 +28,15 @@ final class TableManagement {
|
||||
- Throws: Errors when the file could not be read
|
||||
*/
|
||||
init(database: Database) async throws {
|
||||
self.tableCountMetric = try await .init(
|
||||
self.tableCountMetric = .init(
|
||||
"schafkopf.tables",
|
||||
name: "Open tables",
|
||||
description: "The number of currently available tables")
|
||||
self.playingPlayerCountMetric = try await .init(
|
||||
self.playingPlayerCountMetric = .init(
|
||||
"schafkopf.playing",
|
||||
name: "Sitting players",
|
||||
description: "The number of players currently sitting at a table")
|
||||
self.connectedPlayerCountMetric = try await .init(
|
||||
self.connectedPlayerCountMetric = .init(
|
||||
"schafkopf.connected",
|
||||
name: "Connected players",
|
||||
description: "The number of players with a websocket connection to the server")
|
||||
|
Reference in New Issue
Block a user