From e74dd4613a99f7848848b56cb4219ab97498627c Mon Sep 17 00:00:00 2001 From: r888888888 Date: Mon, 21 Oct 2013 11:07:09 -0700 Subject: [PATCH 1/2] fix Cache.delete --- app/logical/cache.rb | 2 +- db/structure.sql | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/logical/cache.rb b/app/logical/cache.rb index a5d65a6c2..83c3db327 100644 --- a/app/logical/cache.rb +++ b/app/logical/cache.rb @@ -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 diff --git a/db/structure.sql b/db/structure.sql index e7e90f23b..79f4b5af6 100644 --- a/db/structure.sql +++ b/db/structure.sql @@ -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'); \ No newline at end of file +INSERT INTO schema_migrations (version) VALUES ('20130914175431'); + +INSERT INTO schema_migrations (version) VALUES ('20131006193238'); \ No newline at end of file From 66ae18cfa07bc49900b70387021b29a0ae5993c3 Mon Sep 17 00:00:00 2001 From: r888888888 Date: Mon, 21 Oct 2013 11:08:02 -0700 Subject: [PATCH 2/2] new version --- config/danbooru_default_config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/danbooru_default_config.rb b/config/danbooru_default_config.rb index 7c8d603c5..bf8a0ac79 100644 --- a/config/danbooru_default_config.rb +++ b/config/danbooru_default_config.rb @@ -4,7 +4,7 @@ module Danbooru class Configuration # The version of this Danbooru. def version - "2.33.0" + "2.34.0" end # The name of this Danbooru.