README.md in saviour-0.2.1 vs README.md in saviour-0.2.2
- old
+ new
@@ -178,12 +178,13 @@
```
Saviour::Config.storage = MyStorageImplementation.new
```
-The provided storage object will be used for all the lifespan of the running application, for all the file uploads
-handled by Saviour.
+The provided storage object is considered a global configuration state that will be used by Saviour for all mounters.
+However, this configuration is thread-safe and can be changed at runtime, allowing you in practice to work with different
+storages by swapping them depending on your use case.
### public_url
Storages can optionally also implement this method, in order to provide a public URL to the stored file without going
@@ -387,10 +388,10 @@
Saviour::Config.processing_enabled = false
Saviour::Config.processing_enabled = true
```
You can use this when running tests, for example, or if you want processors to not execute for some reason. The flag can be
-changed in real time.
+changed in real time and is thread-safe.
## Versions
Versions in Saviour are treated just like an additional attachment. They require you an additional database column to