Removes telemetry dependence on notifications

This commit is contained in:
Nikolay Govorov
2026-02-03 16:43:25 +00:00
parent d318fe24b8
commit dbf18b90a7
5 changed files with 23 additions and 56 deletions

View File

@@ -70,7 +70,7 @@ pub fn init(allocator: Allocator, config: Config) !*App {
app.config = config;
app.allocator = allocator;
app.notification = try Notification.init(allocator, null);
app.notification = try Notification.init(allocator);
errdefer app.notification.deinit();
app.http = try Http.init(allocator, .{
@@ -96,8 +96,6 @@ pub fn init(allocator: Allocator, config: Config) !*App {
app.telemetry = try Telemetry.init(app, config.run_mode);
errdefer app.telemetry.deinit();
try app.telemetry.register(app.notification);
app.arena_pool = ArenaPool.init(allocator);
errdefer app.arena_pool.deinit();