Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Test to see if membase flags are set correctly after restoring
client = Dalli::Client.new( 'localhost:11222')
if ARGV.include?("-ro")
result = client.get("hello")
puts "Result #{result.class}"
puts "Result #{result} "
exit 0
end
client.set("hello", { :this => :is, :a => :new, :world => :yes } )
result = client.get("hello")
puts "Result #{result.class}"
puts "Result #{result} "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.