Fix typo in DISKCACHE_DIR var name
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
parent
5ab45e60af
commit
d17b9a2f27
|
@ -481,7 +481,7 @@ environment variables: `MYSQL_USER`, `MYSQL_PWD`, `MYSQL_DB`, `MYSQL_HOST`
|
||||||
- `CACHE=redis`: Redis cache. Connection can be defined with the following
|
- `CACHE=redis`: Redis cache. Connection can be defined with the following
|
||||||
environment variables: `REDIS_HOST`, `REDIS_PORT`, `REDIS_DB`, `REDIS_PWD`
|
environment variables: `REDIS_HOST`, `REDIS_PORT`, `REDIS_DB`, `REDIS_PWD`
|
||||||
- `CACHE=diskcache`: disk-based cache. Target directory canbe defined with
|
- `CACHE=diskcache`: disk-based cache. Target directory canbe defined with
|
||||||
`DISKCAHE_DIR`.
|
`DISKCACHE_DIR`.
|
||||||
|
|
||||||
To limit the size of the cache:
|
To limit the size of the cache:
|
||||||
|
|
||||||
|
|
|
@ -205,7 +205,7 @@ if 'CACHE' in os.environ:
|
||||||
|
|
||||||
elif os.environ['CACHE'] == 'diskcache':
|
elif os.environ['CACHE'] == 'diskcache':
|
||||||
default_cache = DiskCacheHandler(
|
default_cache = DiskCacheHandler(
|
||||||
directory = os.getenv('DISKCAHE_DIR', '/tmp/morss-diskcache'),
|
directory = os.getenv('DISKCACHE_DIR', '/tmp/morss-diskcache'),
|
||||||
size_limit = CACHE_SIZE # in Bytes
|
size_limit = CACHE_SIZE # in Bytes
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue