Object Storage - inactive mode

This commit is contained in:
Stephane Mangin
2022-05-18 16:24:32 +03:00
committed by Maksym Yankin
co-authored by Maksym Yankin
parent 22726869cf
commit f06ac95508
3 changed files with 42 additions and 2 deletions
+7 -1
View File
@@ -1,7 +1,7 @@
Base class for attachments on external object store
===================================================
This is a base addon that regroup common code used by addons targeting specific object store
This is a base addon that regroup common code used by addons targeting specific object store
Configuration
-------------
@@ -38,3 +38,9 @@ Default configuration means:
stored in database
* application/javascript are stored in database whatever their size
* text/css are stored in database whatever their size
Inactivate attachment storage I/O
---------------------------------
Define a environment variable `ATTACHMENT_STORAGE_INACTIVE` set to `1`
This will prevent any kind of exceptions and read/write on storage attachments.