diff options
author | 2025-02-10 15:10:30 +0000 | |
---|---|---|
committer | 2025-02-10 15:10:30 +0000 | |
commit | 576da4cf01f9a739804d38c9cdda0a063a674359 (patch) | |
tree | 6ca430d934e8b741af4002032df5bd254106c468 /vendor/golang.org/x/sync/errgroup/errgroup.go | |
parent | [chore]: Bump golang.org/x/oauth2 from 0.25.0 to 0.26.0 (#3775) (diff) | |
download | gotosocial-576da4cf01f9a739804d38c9cdda0a063a674359.tar.xz |
[chore]: Bump golang.org/x/image from 0.23.0 to 0.24.0 (#3773)
Diffstat (limited to 'vendor/golang.org/x/sync/errgroup/errgroup.go')
-rw-r--r-- | vendor/golang.org/x/sync/errgroup/errgroup.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vendor/golang.org/x/sync/errgroup/errgroup.go b/vendor/golang.org/x/sync/errgroup/errgroup.go index 948a3ee63..b8322598a 100644 --- a/vendor/golang.org/x/sync/errgroup/errgroup.go +++ b/vendor/golang.org/x/sync/errgroup/errgroup.go @@ -118,6 +118,7 @@ func (g *Group) TryGo(f func() error) bool { // SetLimit limits the number of active goroutines in this group to at most n. // A negative value indicates no limit. +// A limit of zero will prevent any new goroutines from being added. // // Any subsequent call to the Go method will block until it can add an active // goroutine without exceeding the configured limit. |