From cb41ae0ab887b6544ac9df75c5703f3442f56dc2 Mon Sep 17 00:00:00 2001 From: Chris Waldon Date: Tue, 13 Apr 2021 09:09:33 -0400 Subject: [PATCH] doc: discuss concurrency in README --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 766537f..82bff12 100644 --- a/README.md +++ b/README.md @@ -856,6 +856,9 @@ There has been several attempts to implement case sensitivity, but unfortunately You can vote for case sensitivity by filling out this feedback form: https://forms.gle/R6faU74qPRPAzchZ9 +### Is it safe to concurrently read and write to a viper? + +No, you will need to synchronize access to the viper yourself (for example by using the `sync` package). Concurrent reads and writes can cause a panic. ## Troubleshooting