gql_cataclysm
noah metz 2023-07-30 11:12:47 -06:00
parent 7810859bca
commit da58b04774
1 changed files with 1 additions and 2 deletions

@ -146,9 +146,8 @@ func SoonestSignal(signals []QueuedSignal) (*QueuedSignal, <-chan time.Time) {
}
}
node_timeout := time.Until(soonest_time)
if soonest_signal != nil {
return soonest_signal, time.After(node_timeout)
return soonest_signal, time.After(time.Until(soonest_signal.Time))
} else {
return nil, nil
}