Skip to content

Commit 34db440

Browse files
committed
Fix benchmark compilation
Signed-off-by: Moritz Lang <[email protected]>
1 parent bb8839b commit 34db440

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Benchmarks/ValkeyBenchmarks/ValkeyConnectionBenchmark.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ func makeConnectionGETBenchmark() -> Benchmark? {
6969
// explicitly set tracer to nil, if trait is enabled
7070
var configuration = ValkeyConnectionConfiguration()
7171
configuration.tracing.tracer = nil
72+
#else
73+
let configuration = ValkeyConnectionConfiguration()
7274
#endif
7375
try await ValkeyConnection.withConnection(
7476
address: .hostname("127.0.0.1", port: port),

0 commit comments

Comments
 (0)