hermannloose/escalator — comment on commit 4edba4433b7d0cf460825c54aca2f41d274c37c0
File: lib/escalation_job.rb line 13
By hermannloose:

Regarding your last comment above: I could write

```ruby
upcoming.delay_minutes.minutes.since((Time.now - issue.posted_at).seconds.ago)
```

to use the nice stuff in `Numeric` that you were referring to, but I think the `check_after.minutes.from_now` is cleaner.

Btw, I don't understand why I would "restrict" myself with this, as this is a private variable and everything else (well, the newly enqueued `EscalationJob`) already uses `Time`.

PS: the substraction here is in the wrong order, something I already changed in the merged pull-request.