fix Cache.delete

This commit is contained in:
r888888888
2013-10-21 11:07:09 -07:00
parent 2b00066334
commit e74dd4613a
2 changed files with 4 additions and 2 deletions

View File

@@ -63,7 +63,7 @@ class Cache
def self.delete(key, delay = nil)
start_time = Time.now
MEMCACHE.delete key, delay
MEMCACHE.delete key
elapsed = Time.now - start_time
ActiveRecord::Base.logger.debug('MemCache Delete (%0.6f) %s' % [elapsed, key])
nil

View File

@@ -6429,4 +6429,6 @@ INSERT INTO schema_migrations (version) VALUES ('20130620215658');
INSERT INTO schema_migrations (version) VALUES ('20130712162600');
INSERT INTO schema_migrations (version) VALUES ('20130914175431');
INSERT INTO schema_migrations (version) VALUES ('20130914175431');
INSERT INTO schema_migrations (version) VALUES ('20131006193238');