提交 b21f24d9 编写于 作者: J Joshua Peek

Ensure expires_in and created_at timestamps aren't nil when attempting to upgrade cache

上级 bf24ba98
......@@ -644,7 +644,7 @@ def convert_version_3_entry!
@c = @compressed
remove_instance_variable(:@compressed)
end
if defined?(@expires_in) && defined?(@created_at)
if defined?(@expires_in) && defined?(@created_at) && @expires_in && @created_at
@x = (@created_at + @expires_in).to_i
remove_instance_variable(:@created_at)
remove_instance_variable(:@expires_in)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册