Skip to content

Commit 86d5466

Browse files
committed
Make ActiveConnectionGauge.currentCount public
1 parent b462bdc commit 86d5466

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/RediStack/RedisMetrics.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public class ActiveConnectionGauge {
6262
private let count: NIOAtomic<Int> = .makeAtomic(value: 0)
6363

6464
/// The number of the connections that are currently reported as active.
65-
var currentCount: Int { return count.load() }
65+
public var currentCount: Int { return count.load() }
6666

6767
internal init() { }
6868

0 commit comments

Comments
 (0)