Make max swapfiles configurable