File tree Expand file tree Collapse file tree 5 files changed +6
-8
lines changed
internal/datastore/crdb/pool Expand file tree Collapse file tree 5 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -215,15 +215,15 @@ github.com/lann/builder v0.0.0-20180802200727-47ae307949d0 h1:SOEGU9fKiNWd/HOJuq
215215github.com/lann/builder v0.0.0-20180802200727-47ae307949d0 /go.mod h1:dXGbAdH5GtBTC4WfIxhKZfyBF/HBFgRZSWwZ9g/He9o =
216216github.com/lann/ps v0.0.0-20150810152359-62de8c46ede0 h1:P6pPBnrTSX3DEVR4fDembhRWSsG5rVo6hYhAB/ADZrk =
217217github.com/lann/ps v0.0.0-20150810152359-62de8c46ede0 /go.mod h1:vmVJ0l/dxyfGW6FmdpVm2joNMFikkuWg0EoCKLGUMNw =
218- github.com/lthibault/jitterbug v2.0.0+incompatible h1:qouq51IKzlMx25+15jbxhC/d79YyTj0q6XFoptNqaUw =
219- github.com/lthibault/jitterbug v2.0.0+incompatible /go.mod h1:2l7akWd27PScEs6YkjyUVj/8hKgNhbbQ3KiJgJtlf6o =
220218github.com/mattn/go-colorable v0.1.13 /go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg =
221219github.com/mattn/go-colorable v0.1.14 h1:9A9LHSqF/7dyVVX6g0U9cwm9pG3kP9gSzcuIPHPsaIE =
222220github.com/mattn/go-colorable v0.1.14 /go.mod h1:6LmQG8QLFO4G5z1gPvYEzlUgJ2wF+stgPZH1UqBm1s8 =
223221github.com/mattn/go-isatty v0.0.16 /go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM =
224222github.com/mattn/go-isatty v0.0.19 /go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y =
225223github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY =
226224github.com/mattn/go-isatty v0.0.20 /go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y =
225+ github.com/miparnisari/jitterbug v0.0.0-20260123191925-5442e9d50926 h1:x6smVPDCc4p3j4qtG5qO1uNcsPH8hVWMr7jQz0A3teI =
226+ github.com/miparnisari/jitterbug v0.0.0-20260123191925-5442e9d50926 /go.mod h1:wJ0MaDbnqNGatytpnTRAm4Y/U4xMzIf4sGNCeynJZto =
227227github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db h1:62I3jR2EmQ4l5rM/4FEfDWcRD+abF5XlKShorW5LRoQ =
228228github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db /go.mod h1:l0dey0ia/Uv7NcFFVbCLtqEBQbrT4OCwCSKTEv6enCw =
229229github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA =
Original file line number Diff line number Diff line change @@ -71,9 +71,9 @@ require (
7171 github.com/jzelinskie/stringz v0.0.3
7272 github.com/lib/pq v1.10.9
7373 github.com/lithammer/fuzzysearch v1.1.8
74- github.com/lthibault/jitterbug v2.0.0+incompatible
7574 github.com/mattn/go-isatty v0.0.20
7675 github.com/maypok86/otter/v2 v2.2.1
76+ github.com/miparnisari/jitterbug v0.0.0-20260123191925-5442e9d50926
7777 github.com/mostynb/go-grpc-compression v1.2.3
7878 github.com/muesli/mango-cobra v1.3.0
7979 github.com/muesli/roff v0.1.0
Original file line number Diff line number Diff line change @@ -1370,8 +1370,6 @@ github.com/lib/pq v1.10.9 h1:YXG7RB+JIjhP29X+OtkiDnYaXQwpS4JEWq7dtCCRUEw=
13701370github.com/lib/pq v1.10.9 /go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o =
13711371github.com/lithammer/fuzzysearch v1.1.8 h1:/HIuJnjHuXS8bKaiTMeeDlW2/AyIWk2brx1V8LFgLN4 =
13721372github.com/lithammer/fuzzysearch v1.1.8 /go.mod h1:IdqeyBClc3FFqSzYq/MXESsS4S0FsZ5ajtkr5xPLts4 =
1373- github.com/lthibault/jitterbug v2.0.0+incompatible h1:qouq51IKzlMx25+15jbxhC/d79YyTj0q6XFoptNqaUw =
1374- github.com/lthibault/jitterbug v2.0.0+incompatible /go.mod h1:2l7akWd27PScEs6YkjyUVj/8hKgNhbbQ3KiJgJtlf6o =
13751373github.com/lucasb-eyer/go-colorful v1.2.0 h1:1nnpGOrhyZZuNyfu1QjKiUICQ74+3FNCN69Aj6K7nkY =
13761374github.com/lucasb-eyer/go-colorful v1.2.0 /go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0 =
13771375github.com/lyft/protoc-gen-star v0.6.0 /go.mod h1:TGAoBVkt8w7MPG72TrKIu85MIdXwDuzJYeZuUPFPNwA =
@@ -1417,6 +1415,8 @@ github.com/mgechev/revive v1.12.0 h1:Q+/kkbbwerrVYPv9d9efaPGmAO/NsxwW/nE6ahpQaCU
14171415github.com/mgechev/revive v1.12.0 /go.mod h1:VXsY2LsTigk8XU9BpZauVLjVrhICMOV3k1lpB3CXrp8 =
14181416github.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8 /go.mod h1:mC1jAcsrzbxHt8iiaC+zU4b1ylILSosueou12R++wfY =
14191417github.com/minio/c2goasm v0.0.0-20190812172519-36a3d3bbc4f3 /go.mod h1:RagcQ7I8IeTMnF8JTXieKnO4Z6JCsikNEzj0DwauVzE =
1418+ github.com/miparnisari/jitterbug v0.0.0-20260123191925-5442e9d50926 h1:x6smVPDCc4p3j4qtG5qO1uNcsPH8hVWMr7jQz0A3teI =
1419+ github.com/miparnisari/jitterbug v0.0.0-20260123191925-5442e9d50926 /go.mod h1:wJ0MaDbnqNGatytpnTRAm4Y/U4xMzIf4sGNCeynJZto =
14201420github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db h1:62I3jR2EmQ4l5rM/4FEfDWcRD+abF5XlKShorW5LRoQ =
14211421github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db /go.mod h1:l0dey0ia/Uv7NcFFVbCLtqEBQbrT4OCwCSKTEv6enCw =
14221422github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y =
Original file line number Diff line number Diff line change 77 "time"
88
99 "github.com/jackc/pgx/v5"
10- "github.com/lthibault /jitterbug"
10+ "github.com/miparnisari /jitterbug"
1111 "github.com/prometheus/client_golang/prometheus"
1212 "golang.org/x/time/rate"
1313
@@ -63,7 +63,6 @@ func (t *NodeHealthTracker) Poll(ctx context.Context, interval time.Duration) {
6363 // G404 use of non cryptographically secure random number generator is not concern here,
6464 // as it's used for jittering the interval for health checks.
6565 Source : rand .New (rand .NewSource (time .Now ().Unix ())),
66- Min : interval ,
6766 })
6867 defer ticker .Stop ()
6968 for {
Original file line number Diff line number Diff line change 77func GoLeakIgnores () []goleak.Option {
88 return []goleak.Option {
99 goleak .IgnoreAnyFunction ("go.opencensus.io/stats/view.(*worker).start" ),
10- goleak .IgnoreAnyFunction ("github.com/lthibault/jitterbug.(*Ticker).loop" ), // https://github.com/lthibault/jitterbug/pull/10
1110 }
1211}
You can’t perform that action at this time.
0 commit comments