shm: make max pool size user configurable (via a 'tweak' setting)

This commit is contained in:
Daniel Eklöf 2020-03-25 20:48:02 +01:00
parent e9f1638750
commit 0baa249d8b
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
5 changed files with 39 additions and 11 deletions

2
main.c
View file

@ -330,6 +330,8 @@ main(int argc, char *const *argv)
} while (errno == ERANGE);
}
shm_set_max_pool_size(conf.tweak.max_shm_pool_size);
if ((fdm = fdm_init()) == NULL)
goto out;