Skip to content

Commit

Permalink
Made write raw so that increment will work
Browse files Browse the repository at this point in the history
  • Loading branch information
blmundie committed Dec 7, 2011
1 parent 1760eef commit 7383c06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/record_cache/version_store.rb
Expand Up @@ -26,7 +26,7 @@ def current_multi(id_key_map)
# to reset the key with a (unique) new version
def renew(key)
new_version = (Time.current.to_f * 10000).to_i
@store.write(key, new_version)
@store.write(key, new_version, :raw => true)
RecordCache::Base.logger.debug("Version Store: renew #{key}: nil => #{new_version}") if RecordCache::Base.logger.debug?
new_version
end
Expand Down

0 comments on commit 7383c06

Please sign in to comment.