Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

Commit e742bea

Browse files
author
Juanjo Alvarez
committed
Enforce the read timeout on row iterator reads
- Added test for row timeout - Review feedback and some simplified logic for the row read select - RowTimeout: Use a single NewTimer instead of After for better memory usage - Restore default timeout and readTimeout values - Refactor rowloop select Signed-off-by: Juanjo Alvarez <[email protected]>
1 parent 9966832 commit e742bea

File tree

6 files changed

+229
-52
lines changed

6 files changed

+229
-52
lines changed

go.mod

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,29 @@
11
module github.com/src-d/go-mysql-server
22

33
require (
4-
github.com/StackExchange/wmi v0.0.0-20181212234831-e0a55b97c705 // indirect
54
github.com/VividCortex/gohistogram v1.0.0 // indirect
65
github.com/go-kit/kit v0.8.0
76
github.com/go-ole/go-ole v1.2.4 // indirect
87
github.com/go-sql-driver/mysql v1.4.1
98
github.com/gogo/protobuf v1.2.1 // indirect
109
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
1110
github.com/golang/protobuf v1.3.0 // indirect
12-
github.com/gorilla/handlers v1.4.0 // indirect
1311
github.com/hashicorp/golang-lru v0.5.3
1412
github.com/mitchellh/hashstructure v1.0.0
1513
github.com/oliveagle/jsonpath v0.0.0-20180606110733-2e52cf6e6852
1614
github.com/opentracing/opentracing-go v1.0.2
1715
github.com/pbnjay/memory v0.0.0-20190104145345-974d429e7ae4
1816
github.com/pilosa/pilosa v1.3.0
1917
github.com/sanity-io/litter v1.1.0
20-
github.com/shirou/w32 v0.0.0-20160930032740-bb4de0191aa4 // indirect
2118
github.com/sirupsen/logrus v1.3.0
2219
github.com/spf13/cast v1.3.0
2320
github.com/src-d/go-oniguruma v1.0.0
24-
github.com/stretchr/testify v1.2.2
21+
github.com/stretchr/testify v1.3.0
2522
go.etcd.io/bbolt v1.3.2
26-
golang.org/x/net v0.0.0-20190227022144-312bce6e941f // indirect
2723
google.golang.org/grpc v1.19.0 // indirect
2824
gopkg.in/src-d/go-errors.v1 v1.0.0
25+
gopkg.in/src-d/go-git.v4 v4.13.1
26+
gopkg.in/src-d/go-mysql-server.v0 v0.5.1
2927
gopkg.in/yaml.v2 v2.2.2
3028
vitess.io/vitess v3.0.0-rc.3.0.20190602171040-12bfde34629c+incompatible
3129
)

0 commit comments

Comments
 (0)