about summary refs log tree commit
path: root/lib/metropolis/tc/hdb/ex.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/metropolis/tc/hdb/ex.rb')
-rw-r--r--lib/metropolis/tc/hdb/ex.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/metropolis/tc/hdb/ex.rb b/lib/metropolis/tc/hdb/ex.rb
index 5bc7f39..d205a76 100644
--- a/lib/metropolis/tc/hdb/ex.rb
+++ b/lib/metropolis/tc/hdb/ex.rb
@@ -11,7 +11,7 @@ module Metropolis::TC::HDB::EX
   end
 
   def reader(key)
-    yield @ex_dbv[key.hash % @nr_slots]
+    yield @ex_dbv[multi_hash(key) % @nr_slots]
   end
 
   alias_method :writer, :reader