Sha256: 65d2d1430b2ac0db10b903fd2dc13fcbf2b109637f3c574df84e4f64c99b84b7
Contents?: true
Size: 430 Bytes
Versions: 3
Compression:
Stored size: 430 Bytes
Contents
module Bluepill module ProcessConditions # Process must have cache_actual_pid set to false to function correctly: # # process.checks :zombie_process, every: 5.seconds # process.cache_actual_pid = false class ZombieProcess < ProcessCondition def run(pid, _include_children) System.command(pid) end def check(value) (value =~ /\<defunct\>/).nil? end end end end
Version data entries
3 entries across 3 versions & 1 rubygems