Skip to content

Commit fae8ead

Browse files
committed
Make RedisConnection.sendCommandsImmediately public
Motivation: During the refactor work (commit ea7c755) that was merged with MRs !71 and !53 - `sendCommandsImmediately` was accidentally lowered to `internal` Modifications: Properly mark `RedisConnection.sendCommandsImmediately` as `public` Result: Developers should now have proper access to the `sendCommandsImmediately` property
1 parent 611cc4e commit fae8ead

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/RediStack/RedisConnection.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public final class RedisConnection: RedisClient {
115115
/// When set to `true`, the buffer will be drained as soon as commands are added.
116116
/// - Important: Even when set to `true`, the host machine may still choose to delay sending commands.
117117
/// - Note: Setting this to `true` will immediately drain the buffer.
118-
var sendCommandsImmediately: Bool {
118+
public var sendCommandsImmediately: Bool {
119119
get { return autoflush.load() }
120120
set(newValue) {
121121
if newValue { self.channel.flush() }

0 commit comments

Comments
 (0)