blob: 131b71c4760943e000e8328e75e4900659efe933 (
plain)
1
2
3
4
5
6
7
8
9
10
|
{% from 'macros/common_macros.lua.j2' import boolean %}
{% if cfg.defer.enabled and not disable_defer -%}
assert(C.defer_init(
'{{ cfg.rundir }}/defer',
{{ cfg.defer.log_period.millis() }},
{{ cfg.workers }}) == 0)
{% else %}
assert(C.defer_init(nil, 0, 0) == 0)
{%- endif %}
|