mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-23 01:40:12 -05:00
shm: make max pool size user configurable (via a 'tweak' setting)
This commit is contained in:
parent
e9f1638750
commit
0baa249d8b
5 changed files with 39 additions and 11 deletions
2
main.c
2
main.c
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue