]> git.ipfire.org Git - thirdparty/collectd.git/commit
src/daemon/utils_cache.c: Automatically initialize the cache when needed.
authorFlorian Forster <octo@collectd.org>
Tue, 30 Jan 2024 12:22:52 +0000 (13:22 +0100)
committerFlorian Forster <octo@collectd.org>
Wed, 31 Jan 2024 09:56:18 +0000 (10:56 +0100)
commit2c0baa6aeb74cb467a146292d0805c0a1e14a97c
treeb64d3c04fe27dd17ef9c20e68bb07830cc2f30f8
parent3f5a2b4b55d20392da5768dc37abd5b3896f88b7
src/daemon/utils_cache.c: Automatically initialize the cache when needed.

This simplifies writing unit tests using the cache.
src/daemon/plugin.c
src/daemon/utils_cache.c
src/daemon/utils_cache.h
src/write_redis_test.c