Method: Redis#sync

Defined in:
lib/redis.rb

#syncObject

Internal command used for replication.



388
389
390
391
392
# File 'lib/redis.rb', line 388

def sync
  synchronize do |client|
    client.call([:sync])
  end
end