You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*`ROK4_SSL_NO_VERIFY` : Désactivation de la vérification SSL pour les accès S3 (n'importe quelle valeur non vide)
42
+
*`tile_matrix_set` :
43
+
*`ROK4_TMS_DIRECTORY` : Dossier racine (fichier ou objet) des tile matrix sets
44
+
*`style` :
45
+
*`ROK4_STYLES_DIRECTORY` : Dossier racine (fichier ou objet) des styles
46
+
47
+
Readings uses a LRU cache system with a TTL. It's possible to configure it with environment variables :
48
+
- ROK4_READING_LRU_CACHE_SIZE : Number of cached element. Default 64. Set 0 or a negative integer to configure a cache without bound. A power of two make cache more efficient.
49
+
- ROK4_READING_LRU_CACHE_TTL : Validity duration of cached element, in seconds. Default 300. 0 or negative integer to get cache without expiration date.
50
+
51
+
To disable cache (always read data on storage), set ROK4_READING_LRU_CACHE_SIZE to 1 and ROK4_READING_LRU_CACHE_TTL to 1.
52
+
53
+
Using CEPH storage requires environment variables :
Copy file name to clipboardExpand all lines: src/rok4/storage.py
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
"""Provide functions to read or write data
2
2
3
3
Available storage types are :
4
+
4
5
- S3 (path are preffixed with `s3://`)
5
6
- CEPH (path are prefixed with `ceph://`)
6
7
- FILE (path are prefixed with `file://`, but it is the default paths' interpretation)
@@ -10,17 +11,20 @@
10
11
According to functions, all storage types are not necessarily available.
11
12
12
13
Readings uses a LRU cache system with a TTL. It's possible to configure it with environment variables :
14
+
13
15
- ROK4_READING_LRU_CACHE_SIZE : Number of cached element. Default 64. Set 0 or a negative integer to configure a cache without bound. A power of two make cache more efficient.
14
16
- ROK4_READING_LRU_CACHE_TTL : Validity duration of cached element, in seconds. Default 300. 0 or negative integer to get cache without expiration date.
15
17
16
18
To disable cache (always read data on storage), set ROK4_READING_LRU_CACHE_SIZE to 1 and ROK4_READING_LRU_CACHE_TTL to 1.
17
19
18
20
Using CEPH storage requires environment variables :
0 commit comments