Update module github.com/alitto/pond to v2#11
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
dfe9733 to
8df91f9
Compare
8df91f9 to
8b4ba7f
Compare
68788a6 to
7cacff2
Compare
7cacff2 to
fa8eb00
Compare
fa8eb00 to
fcda353
Compare
fcda353 to
47ff390
Compare
47ff390 to
26fcfc1
Compare
dab0a3e to
8f61aac
Compare
7abee88 to
b098710
Compare
b098710 to
a5e62d2
Compare
a5e62d2 to
bb4b31d
Compare
bb4b31d to
9c6d9a0
Compare
63081ea to
735c36c
Compare
735c36c to
9c10f17
Compare
9c10f17 to
73210ba
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.9.2→v2.7.1Release Notes
alitto/pond (github.com/alitto/pond)
v2.7.1Compare Source
What's Changed
New Contributors
Full Changelog: alitto/pond@v2.7.0...v2.7.1
v2.7.0Compare Source
What's Changed
Full Changelog: alitto/pond@v2.6.2...v2.7.0
v2.6.2Compare Source
What's Changed
1.24and1.25)Full Changelog: alitto/pond@v2.6.1...v2.6.2
v2.6.1Compare Source
What's Changed
Full Changelog: alitto/pond@v2.6.0...v2.6.1
v2.6.0Compare Source
What's Changed
Breaking Changes
WithQueueSize(0)now disables the task queue altogether (all task submissions block until a worker becomes available unless the pool is set to non-blocking mode). Before this change, setting queue size to0would cause the queue to be unbounded. Pools are still unbounded by default, but now there's a constant that can be used to set queue size to unbounded explicitly. E.g.pond.NewPool(10, pond.WithQueueSize(pond.Unbounded)).Full Changelog: alitto/pond@v2.5.0...v2.6.0
v2.5.0Compare Source
What's Changed
New Contributors
Full Changelog: alitto/pond@v2.4.0...v2.5.0
v2.4.0Compare Source
What's Changed
Full Changelog: alitto/pond@v2.3.4...v2.4.0
v2.3.4Compare Source
What's Changed
Full Changelog: alitto/pond@v2.3.3...v2.3.4
v2.3.3Compare Source
What's Changed
Full Changelog: alitto/pond@v2.3.2...v2.3.3
v2.3.2Compare Source
What's Changed
Full Changelog: alitto/pond@v2.3.1...v2.3.2
v2.3.1Compare Source
Pull requests
Changes
closedatomic bool is toggled and checked while holding the mutex to avoid race conditions.workersWaitGroup.Add()is always called while holding the mutex to avoid race conditions.trySubmitmethod to make it simpler and more clear.launchWorker.subpoolSubmitwithsubpoolWorkermethod.TrySubmitandTrySubmitErr). Requested in #103DroppedTasksmetric that reflects the number of tasks that were not executed because the queue was full. Issue reported in #100SubmittedTasksmetric now includes dropped tasks and it stops being updated once the pool is stopped.Fixes
workerCountcounter when the pool context is cancelled.Resize()now supports settingmaxConcurrencyto 0 (no limit)Full Changelog: alitto/pond@v2.3.0...v2.3.1
v2.3.0Compare Source
What's Changed
Full Changelog: alitto/pond@v2.2.0...v2.3.0
v2.2.0Compare Source
What's Changed
WithQueueSizeoption).WithNonBlockingoption).RunningWorkers()method in subpools reflect the actual number of workers running tasks belonging to the subpool.NewSupool.Full Changelog: alitto/pond@v2.1.6...v2.2.0
v2.1.6Compare Source
What's Changed
New Contributors
Full Changelog: alitto/pond@v2.1.5...v2.1.6
v2.1.5Compare Source
What's Changed
New Contributors
Full Changelog: alitto/pond@v2.1.4...v2.1.5
v2.1.4Compare Source
What's Changed
Full Changelog: alitto/pond@v2.1.3...v2.1.4
v2.1.3Compare Source
What's Changed
Full Changelog: alitto/pond@v2.1.2...v2.1.3
v2.1.2Compare Source
What's Changed
Full Changelog: alitto/pond@v2.1.1...v2.1.2
v2.1.1Compare Source
What's Changed
Full Changelog: alitto/pond@v2.1.0...v2.1.1
v2.1.0Compare Source
What's Changed
pool.NewGroupContext(ctx))group.Done(): returns a channel that is closed when all tasks in the group finish or the first error is returned.group.Stop(): stops the task group. Queued tasks will be discarded but running tasks will complete their execution.pool.NewGroupContext(ctx)method.Full Changelog: alitto/pond@v2.0.4...v2.1.0
v2.0.4Compare Source
What's Changed
Full Changelog: alitto/pond@v2.0.3...v2.0.4
v2.0.3Compare Source
What's Changed
Full Changelog: alitto/pond@v2.0.2...v2.0.3
v2.0.2Compare Source
Changes
Stopped() boolmethod in pools to indicate whether the pool has been stopped or its associated context has been cancelled.Fixes
ErrPoolStoppederror is always returned when attempting to submit a task to a pool that has been stopped or its associated context cancelled.v2.0.1Compare Source
Fixes
Wait()from returning eagerly when tasks are executed before submitting the last one of the group.v2.0.0Compare Source
What's new in v2?
Version 2 of
pondintroduces many improvements and new features:Migration from v1 to v2
There have been a significant number of breaking changes in v2, so please make sure to read the migration guide if you are upgrading from v1.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.