chore(deps): update module github.com/alitto/pond to v2#32
Open
renovate[bot] wants to merge 1 commit intomasterfrom
Open
chore(deps): update module github.com/alitto/pond to v2#32renovate[bot] wants to merge 1 commit intomasterfrom
renovate[bot] wants to merge 1 commit intomasterfrom
Conversation
da0c8cd to
8183f2d
Compare
691f551 to
3b4767b
Compare
3b4767b to
3c43bfb
Compare
ea7de33 to
6f57676
Compare
6f57676 to
08e13f1
Compare
08e13f1 to
5a293fc
Compare
5a293fc to
9c51de8
Compare
9c51de8 to
f909b32
Compare
f909b32 to
ebd1c1d
Compare
ebd1c1d to
1483052
Compare
23b5e76 to
6d1ef11
Compare
604c894 to
a1a7a07
Compare
a1a7a07 to
d6cd5d3
Compare
d6cd5d3 to
e48aec2
Compare
e48aec2 to
6bcf1f8
Compare
6780d9d to
a39c378
Compare
a39c378 to
252ec03
Compare
252ec03 to
6ca2277
Compare
f5325f4 to
5281117
Compare
5281117 to
83e54c4
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.0Release Notes
alitto/pond (github.com/alitto/pond)
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: 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.