Skip to content

Commit 8d069dd

Browse files
committed
go.mod: update taskgroup to v0.11.0 and fix usage
1 parent 06ae5c8 commit 8d069dd

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ require (
1414
github.com/creachadair/mds v0.21.2
1515
github.com/creachadair/mhttp v0.0.0-20240908014720-a77225a19b8b
1616
github.com/creachadair/scheddle v0.0.0-20240919010233-b6854e09d972
17-
github.com/creachadair/taskgroup v0.9.4
17+
github.com/creachadair/taskgroup v0.11.0
1818
github.com/creachadair/tlsutil v0.0.0-20240907154432-0ca1e46ff43d
1919
github.com/goproxy/goproxy v0.17.2
2020
golang.org/x/sync v0.8.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ github.com/creachadair/msync v0.3.0 h1:7FoPzwrM4gAdfsj7mcVyodKV82fArJaKcgr9j9whY
5656
github.com/creachadair/msync v0.3.0/go.mod h1:XjAfMt+upDhbx3FeGJ1zkqQIm55E9xw/pWzITwVaIoI=
5757
github.com/creachadair/scheddle v0.0.0-20240919010233-b6854e09d972 h1:bWA80ILWcqGxveRewDQwf4nRF8E90SiCxqVo0DaOFxg=
5858
github.com/creachadair/scheddle v0.0.0-20240919010233-b6854e09d972/go.mod h1:PwCiUu3BYgSeOurdoA/+kDA5X39Z9JXRKDGUpkeKPCY=
59-
github.com/creachadair/taskgroup v0.9.4 h1:dGMg5fkBc5c5QQ1LD6JZCMw45mH7ptXbW64WpTKzwbA=
60-
github.com/creachadair/taskgroup v0.9.4/go.mod h1:9oDDPt/5QPS4iylvPMC81GRlj+1je8AFDbjUh4zaQWo=
59+
github.com/creachadair/taskgroup v0.11.0 h1:ALpBe7Qds+JyM4ZQKISLFyapHRjVb00eOQ88S0mzVNo=
60+
github.com/creachadair/taskgroup v0.11.0/go.mod h1:9oDDPt/5QPS4iylvPMC81GRlj+1je8AFDbjUh4zaQWo=
6161
github.com/creachadair/tlsutil v0.0.0-20240907154432-0ca1e46ff43d h1:euNk+jFY3ytIBBMtXY80gbMK0pA4bXTYHbkxwEUgnKU=
6262
github.com/creachadair/tlsutil v0.0.0-20240907154432-0ca1e46ff43d/go.mod h1:QMYeSCtv6WYPxroqKtL1/5p4vG2SdWiBYiTxo4y0FMc=
6363
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=

lib/gobuild/gobuild.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ type S3Cache struct {
7676
// Tracks tasks pushing cache writes to S3.
7777
initOnce sync.Once
7878
push *taskgroup.Group
79-
start func(taskgroup.Task) *taskgroup.Group
79+
start func(taskgroup.Task)
8080

8181
getLocalHit expvar.Int // count of Get hits in the local cache
8282
getFaultHit expvar.Int // count of Get hits faulted in from S3

lib/modproxy/modproxy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ type S3Cacher struct {
9393
// Tracks tasks interacting with S3 in the background.
9494
initOnce sync.Once
9595
tasks *taskgroup.Group
96-
start func(taskgroup.Task) *taskgroup.Group
96+
start func(taskgroup.Task)
9797
sema *semaphore.Weighted
9898

9999
pathError expvar.Int // errors constructing file paths

lib/revproxy/revproxy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ type Server struct {
120120

121121
initOnce sync.Once
122122
tasks *taskgroup.Group
123-
start func(taskgroup.Task) *taskgroup.Group
123+
start func(taskgroup.Task)
124124
mcache *cache.Cache[string, memCacheEntry] // short-lived mutable objects
125125
expire *scheddle.Queue // cache expirations
126126

0 commit comments

Comments
 (0)