executable Executable,
rescheduleTime time.Time,
r.Lock()
pq := r.getOrCreatePQLocked(r.taskChannelKeyFn(executable))
pq.Add(rescheduledExecuable{
executable: executable,
rescheduleTime: rescheduleTime,
})
r.numExecutables++
r.timerGate.Update(rescheduleTime)
r.Unlock()
if r.isStopped() {
r.drain()
}