lib/dalli/options.rb in dalli-0.11.1 vs lib/dalli/options.rb in dalli-0.11.2
- old
+ new
@@ -1,6 +1,7 @@
require 'thread'
+require 'monitor'
module Dalli
# Make Dalli threadsafe by using a lock around all
# public server methods.
@@ -38,6 +39,6 @@
def lock
@lock ||= Monitor.new
end
end
-end
\ No newline at end of file
+end