]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
daemon/bindings: syntactic sugar for cache
authorMarek Vavruša <marek.vavrusa@nic.cz>
Thu, 7 May 2015 19:39:50 +0000 (21:39 +0200)
committerMarek Vavruša <marek.vavrusa@nic.cz>
Thu, 7 May 2015 19:39:50 +0000 (21:39 +0200)
commit8c8852c5b5f7241a7954370f7d4594bce54408bc
treed03a51d9a75279b2d2788f037af723154c0227aa
parent969b1610c0c357b5cf41348fd8ad5fefa1fe56f0
daemon/bindings: syntactic sugar for cache

the cache can be setup declaratively with:

cache.size = 10 * MB

the cache storage backend can be changed with:

cache.storage = ‘lmdb://.'
daemon/README.rst
daemon/bindings.c
daemon/engine.c
daemon/lua/sandbox.lua