Method: Eye::Process::System#failsafe_load_pid
- Defined in:
- lib/eye/process/system.rb
#failsafe_load_pid ⇒ Object
113 114 115 116 117 118 119 120 121 122 |
# File 'lib/eye/process/system.rb', line 113 def failsafe_load_pid pid = load_pid_from_file unless pid # this is can be symlink changed case sleep 0.1 pid = load_pid_from_file end pid if pid && pid > 0 end |