Skip to content

Commit

Permalink
Add some extra default settings to the cache configuration
Browse files Browse the repository at this point in the history
Hopefully should fix all the `KeyError` and `OSError` exceptions.
  • Loading branch information
suricactus committed Mar 2, 2025
1 parent 48fa297 commit f5ed45a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker-app/qfieldcloud/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@
"default": {
"BACKEND": "django.core.cache.backends.memcached.PyMemcacheCache",
"LOCATION": "memcached:11211",
"OPTIONS": {
"no_delay": True,
"ignore_exc": True,
"max_pool_size": 10,
"use_pooling": True,
},
}
}

Expand Down

0 comments on commit f5ed45a

Please sign in to comment.