chore(deps): update module github.com/alitto/pond to v2 #265
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.5.0Release Notes
alitto/pond (github.com/alitto/pond)
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: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 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.