From cc7d19d92567c6c71ba80ba474db7df5fc72afe6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Wed, 4 Sep 2019 18:24:25 +0200 Subject: [PATCH] Apply wording by @michaelkirk-signal --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fb2aa4561..425f8cf7e 100644 --- a/README.md +++ b/README.md @@ -7395,7 +7395,7 @@ try dbQueue.write { db in } ``` -When you use a [database pool](#database-pools), make sure that no concurrent read can happen during the passphrase change with the `barrierWriteWithoutTransaction` method, and that all future reads open a new database connection with the `invalidateReadOnlyConnections` method: +When you use a [database pool](#database-pools), make sure that no concurrent read can happen by changing the passphrase within the barrierWriteWithoutTransaction block. You must also ensure all future reads open a new database connection by calling the invalidateReadOnlyConnections method: ```swift try dbPool.barrierWriteWithoutTransaction { db in