Skip to content

Commit

Permalink
fix(cache): add environment variable to configure cache options
Browse files Browse the repository at this point in the history
  • Loading branch information
anehx authored Dec 10, 2024
1 parent 72af759 commit 36f64ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion document_merge_service/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ def default(default_dev=env.NOTSET, default_prod=env.NOTSET):
"BACKEND": env.str(
"CACHE_BACKEND", default="django.core.cache.backends.locmem.LocMemCache"
),
"LOCATION": env.str("CACHE_LOCATION", ""),
"LOCATION": env.str("CACHE_LOCATION", default=""),
"OPTIONS": env.dict("CACHE_OPTIONS", default={}),
}
}

Expand Down

0 comments on commit 36f64ed

Please sign in to comment.