Skip to content

Commit

Permalink
change Lock to NIOLock (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rubenfer authored Dec 22, 2022
1 parent 8846224 commit 9e9da05
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/Redis/RedisStorage.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import Vapor
import NIOConcurrencyHelpers

extension Application {
private struct RedisStorageKey: StorageKey {
Expand All @@ -17,7 +18,7 @@ extension Application {
}

final class RedisStorage {
private var lock: Lock
private var lock: NIOLock
private var configurations: [RedisID: RedisConfiguration]
fileprivate var pools: [PoolKey: RedisConnectionPool] {
willSet {
Expand Down

0 comments on commit 9e9da05

Please sign in to comment.