diff options
Diffstat (limited to 'lib/metropolis/tc/hdb/ex.rb')
-rw-r--r-- | lib/metropolis/tc/hdb/ex.rb | 2 |
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 |