{"comment":{"created_at":"2011-10-13T18:02:32Z","body":"What you should do is update the call sites to cast the time values into Fixnums on startup, and then just reuse the same value when possible.","updated_at":"2011-10-13T18:02:32Z","url":"https://api.github.com/repos/fauna/memcached/issues/comments/2397901","id":2397901,"user":{"avatar_url":"https://secure.gravatar.com/avatar/f8634aca904bc63cb047cb1bd93bdc74?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"f8634aca904bc63cb047cb1bd93bdc74","url":"https://api.github.com/users/evan","id":210,"login":"evan"}},"action":"created","issue":{"number":71,"created_at":"2011-10-13T16:40:35Z","pull_request":{"diff_url":"https://github.com/fauna/memcached/pull/71.diff","patch_url":"https://github.com/fauna/memcached/pull/71.patch","html_url":"https://github.com/fauna/memcached/pull/71"},"body":"This pull request addresses issue #39 which is still present despite being closed and agreed to be fixed if a pull was submitted.\r\n\r\nCast TTL values to integers to better support ActiveSupport::Duration values.\r\nTo avoid special casing Active::SupportDuration, this patch just calls\r\nto_i on the ttl value, but this causes a problem if the the argument is\r\na Time object. So this patch also now allows Time values to be passed\r\nas long as they are in the future by converting them to a duration of\r\ntime in seconds.","comments":7,"title":"Cast TTL values to integers to better support ActiveSupport::Duration values.","updated_at":"2011-10-13T18:02:32Z","url":"https://api.github.com/repos/fauna/memcached/issues/71","id":1902156,"assignee":null,"milestone":null,"closed_at":"2011-10-13T17:17:26Z","user":{"avatar_url":"https://secure.gravatar.com/avatar/723ee972f9e5078aeda85cdf0db3f3c8?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"723ee972f9e5078aeda85cdf0db3f3c8","url":"https://api.github.com/users/chriseppstein","id":1839,"login":"chriseppstein"},"html_url":"https://github.com/fauna/memcached/issues/71","labels":[],"state":"closed"},"legacy":{"issue_id":1902156,"comment_id":2397901}}