doc: discuss concurrency in README

This commit is contained in:
Chris Waldon
2021-04-15 18:20:20 +02:00
committed by Márk Sági-Kazár
parent 7fdb267c73
commit cb41ae0ab8
+3
View File
@@ -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