Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
expired_in? method #117
Developers usually check .expired? method but it works in a very straightforward manner and doesn't check e.g. will the token be expired in the next couple of seconds. It causes like 0.1-1% failed requests for normal and delayed jobs, not synced unix time because there is always slight network legacy between expired? check and its usage.