Module: RedisClient::PIDCache::CoreExt

Included in:
RedisClient::PIDCache
Defined in:
lib/redis_client/pid_cache.rb

Instance Method Summary collapse

Instance Method Details

#_forkObject



19
20
21
22
23
# File 'lib/redis_client/pid_cache.rb', line 19

def _fork
  child_pid = super
  PIDCache.update! if child_pid == 0
  child_pid
end