module Dalli::PIDCache::CoreExt

Dalli::PIDCache::CoreExt hooks into Process to be able to reset the PID cache after fork

Public Instance Methods

_fork() click to toggle source
Calls superclass method
# File lib/dalli/pid_cache.rb, line 25
def _fork
  child_pid = super
  PIDCache.update! if child_pid.zero?
  child_pid
end