Created
February 1, 2010 06:06
-
-
Save nayutaya/291483 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 「memcacheが適切に失効しない不具合」を修正するモンキーパッチ | |
# 対象はappengine-apis-0.0.12 | |
module AppEngine | |
class Memcache | |
def put(key, value, expiration, mode) | |
check_write | |
convert_exceptions do | |
key = memcache_key(key) | |
value = memcache_value(value) | |
expiration = memcache_expiration(expiration) | |
service.put(key, value, expiration, mode) | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment