Basic implementation of cgroup hook: memory_pressure by udzura · Pull Request #147 · haconiwa/haconiwa

Now wa can use this kind of hooks: haconiwa = Haconiwa.define do |config| config.cgroup["memory.limit_in_bytes"] = 16 * 1024 * 1024 config.add_cgroup_hook type: "memory_pressure", level: level ...