Method: Redis#sync

Defined in:
lib/redis.rb

#syncObject

Internal command used for replication.



271
272
273
274
275
# File 'lib/redis.rb', line 271

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