Make `RedisConnection.Configuration.defaultPort` thread safe by fabianfett · Pull Request #81 · swift-server/RediStack

@fabianfett

`RedisConnection.Configuration.defaultPort` is currently unprotected shared mutable state. To ensure thread safety this patch adds an atomic to back this property. Further we mark `RedisConnection.Configuration` as `Sendable`.

@fabianfett fabianfett deleted the ff-make-RedisConnection.Configuration-thread-safe branch

July 8, 2023 12:59