atproto relay implementation in zig zlay.waow.tech
9
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: increase metrics buffer to 64 KiB — smaps/proc/disk metrics were truncated at 16 KiB

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

zzstoatzz 3fef6ec5 7b7c532a

+1 -1
+1 -1
src/main.zig
··· 95 95 .consumer_queue_depth = bc.consumerQueueDepth(), 96 96 }; 97 97 98 - var metrics_buf: [16384]u8 = undefined; 98 + var metrics_buf: [65536]u8 = undefined; 99 99 const body = broadcaster.formatPrometheusMetrics(stats, cache_entries, migration_queue_len, migration_pending_count, attribution, data_dir, &metrics_buf); 100 100 request.respond(body, .{ .status = .ok, .keep_alive = false, .extra_headers = &.{ 101 101 .{ .name = "content-type", .value = "text/plain; version=0.0.4; charset=utf-8" },