Drop unused metrics configuration

This commit is contained in:
Rory&
2025-12-25 07:50:34 +01:00
parent 4ddd05e35c
commit 5b59130994
3 changed files with 0 additions and 24 deletions

View File

@@ -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();

View File

@@ -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;
}

View File

@@ -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";