enables freeze guard

This commit is contained in:
ThatBen 2025-05-07 16:43:00 +02:00
parent 02c86f4178
commit 545f337a5b
No known key found for this signature in database
GPG Key ID: E020A7DDCD52E1AB
2 changed files with 2 additions and 2 deletions

View File

@ -794,7 +794,7 @@ proc setupLogging*(conf: CodexConf) =
proc setupMetrics*(config: CodexConf) =
when chronosProfiling:
enableProfiling()
enableProfiling(200.milliseconds)
if config.metricsEnabled:
let metricsAddress = config.metricsAddress

2
vendor/nim-chroprof vendored

@ -1 +1 @@
Subproject commit 95da0353d276f688926926d796439b24874ccf44
Subproject commit cd4a3adfb170585af8430f7ba324c3478d7084f8