Skip to content

Commit d7396b4

Browse files
author
James Cor
committed
cleanup
1 parent 1e59832 commit d7396b4

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

server/handler.go

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -926,14 +926,7 @@ func (h *Handler) resultForValueRowIter(ctx *sql.Context, c *mysql.Conn, schema
926926
}
927927
}
928928

929-
// timer has gone off
930-
if !timer.Reset(waitTime) {
931-
if h.readTimeout != 0 {
932-
// Cancel and return so Vitess can call the CloseConnection callback
933-
ctx.GetLogger().Warn("connection timeout")
934-
return ErrRowTimeout.New()
935-
}
936-
}
929+
timer.Reset(waitTime)
937930
}
938931
})
939932

0 commit comments

Comments
 (0)