}
func (udp *udpWrap) sendQueue() {
- initialWait := 6 * time.Second
+ initialWait := 5 * time.Second
wait := initialWait
for set := range udp.sendQueueCh {
Retry:
if reply.Error() == udpapi.TimeoutError {
// retry
- wait = (wait * 15) / 10
+ wait = wait * 2
if wait > time.Minute {
wait = time.Minute
}