summary refs log tree commit diff
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-12-25 07:50:34 +0100
committerRory& <root@rory.gay>2025-12-25 07:50:34 +0100
commit5b59130994e9b5e8ed2cbcc1accb52fa278aae04 (patch)
tree62af3a087372344c7008345a35da3a0d1e0ab539
parentDrop unused Kafka configuration (diff)
downloadserver-ts-5b59130994e9b5e8ed2cbcc1accb52fa278aae04.tar.xz
Drop unused metrics configuration
-rw-r--r--src/util/config/Config.ts2
-rw-r--r--src/util/config/types/MetricsConfiguration.ts21
-rw-r--r--src/util/config/types/index.ts1
3 files changed, 0 insertions, 24 deletions
diff --git a/src/util/config/Config.ts b/src/util/config/Config.ts

index 9dd5b893..6ada8170 100644 --- a/src/util/config/Config.ts +++ b/src/util/config/Config.ts
@@ -28,7 +28,6 @@ import { GuildConfiguration, LimitsConfiguration, LoginConfiguration, - MetricsConfiguration, PasswordResetConfiguration, RabbitMQConfiguration, RegionConfiguration, @@ -53,7 +52,6 @@ export class ConfigValue { gif: GifConfiguration = new GifConfiguration(); rabbitmq: RabbitMQConfiguration = new RabbitMQConfiguration(); templates: TemplateConfiguration = new TemplateConfiguration(); - metrics: MetricsConfiguration = new MetricsConfiguration(); defaults: DefaultsConfiguration = new DefaultsConfiguration(); external: ExternalTokensConfiguration = new ExternalTokensConfiguration(); email: EmailConfiguration = new EmailConfiguration(); diff --git a/src/util/config/types/MetricsConfiguration.ts b/src/util/config/types/MetricsConfiguration.ts deleted file mode 100644
index c7cf28fd..00000000 --- a/src/util/config/types/MetricsConfiguration.ts +++ /dev/null
@@ -1,21 +0,0 @@ -/* - Spacebar: A FOSS re-implementation and extension of the Discord.com backend. - Copyright (C) 2023 Spacebar and Spacebar Contributors - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as published - by the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Affero General Public License for more details. - - You should have received a copy of the GNU Affero General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. -*/ - -export class MetricsConfiguration { - timeout: number = 30000; -} diff --git a/src/util/config/types/index.ts b/src/util/config/types/index.ts
index fc8c8560..9f6ac23c 100644 --- a/src/util/config/types/index.ts +++ b/src/util/config/types/index.ts
@@ -27,7 +27,6 @@ export * from "./GifConfiguration"; export * from "./GuildConfiguration"; export * from "./LimitConfigurations"; export * from "./LoginConfiguration"; -export * from "./MetricsConfiguration"; export * from "./PasswordResetConfiguration"; export * from "./RabbitMQConfiguration"; export * from "./RegionConfiguration";