Commit 3ff591a6 authored by Vladimír Čunát's avatar Vladimír Čunát

tests_cache: give it more space
In general, platforms with page size other than 4k might better compile
with -DCPU_PAGE_SIZE=nnnnn but real impact should only be this test and
better alignment in the mempool allocator.
parent 2ba2a5e8
......@@ -4,6 +4,7 @@ Knot Resolver 1.5.1 (2017-1x-yy)
- fix SIGPIPE crashes
- tests: work around out-of-space for platforms with larger memory pages
Knot Resolver 1.5.0 (2017-11-02)
......@@ -35,7 +35,7 @@ struct kr_cache_entry global_fake_ce;
uint8_t namedb_data[NAMEDB_DATA_SIZE];
knot_db_val_t global_namedb_data = {namedb_data, NAMEDB_DATA_SIZE};
#define CACHE_SIZE 10 * 4096
#define CACHE_TTL 10
#define CACHE_TIME 0
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment