-
Notifications
You must be signed in to change notification settings - Fork 215
chore(deps): update module github.com/alitto/pond to v2 #1810
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate-rancher
wants to merge
1
commit into
main
Choose a base branch
from
renovate/github.com-alitto-pond-2.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
Hi @jeffhuang4704 , could you take a look to see if it's okay to upgrade to v2? Note: |
75c9080
to
a81864b
Compare
4a15c10
to
406d1d5
Compare
76c22e4
to
68a8922
Compare
5102860
to
cbb976c
Compare
cbb976c
to
a8e5ebc
Compare
|
18b8a31
to
fd8c6c5
Compare
05acd28
to
d5ed8a2
Compare
2f214e8
to
c56c06d
Compare
c56c06d
to
5f75713
Compare
5f75713
to
efc49ea
Compare
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.3.4
Release Notes
alitto/pond (github.com/alitto/pond)
v2.3.4
Compare Source
What's Changed
Full Changelog: alitto/pond@v2.3.3...v2.3.4
v2.3.3
Compare Source
What's Changed
Full Changelog: alitto/pond@v2.3.2...v2.3.3
v2.3.2
Compare Source
What's Changed
Full Changelog: alitto/pond@v2.3.1...v2.3.2
v2.3.1
Compare Source
Pull requests
Changes
closed
atomic 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.trySubmit
method to make it simpler and more clear.launchWorker
.subpoolSubmit
withsubpoolWorker
method.TrySubmit
andTrySubmitErr
). Requested in https://github.com/alitto/pond/issues/103DroppedTasks
metric that reflects the number of tasks that were not executed because the queue was full. Issue reported in https://github.com/alitto/pond/issues/100SubmittedTasks
metric now includes dropped tasks and it stops being updated once the pool is stopped.Fixes
workerCount
counter when the pool context is cancelled.Resize()
now supports settingmaxConcurrency
to 0 (no limit)Full Changelog: alitto/pond@v2.3.0...v2.3.1
v2.3.0
Compare Source
What's Changed
Full Changelog: alitto/pond@v2.2.0...v2.3.0
v2.2.0
Compare Source
What's Changed
WithQueueSize
option).WithNonBlocking
option).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.6
Compare Source
What's Changed
New Contributors
Full Changelog: alitto/pond@v2.1.5...v2.1.6
v2.1.5
Compare Source
What's Changed
New Contributors
Full Changelog: alitto/pond@v2.1.4...v2.1.5
v2.1.4
Compare Source
What's Changed
Full Changelog: alitto/pond@v2.1.3...v2.1.4
v2.1.3
Compare Source
What's Changed
Full Changelog: alitto/pond@v2.1.2...v2.1.3
v2.1.2
Compare Source
What's Changed
Full Changelog: alitto/pond@v2.1.1...v2.1.2
v2.1.1
Compare Source
What's Changed
Full Changelog: alitto/pond@v2.1.0...v2.1.1
v2.1.0
Compare 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.4
Compare Source
What's Changed
Full Changelog: alitto/pond@v2.0.3...v2.0.4
v2.0.3
Compare Source
What's Changed
Full Changelog: alitto/pond@v2.0.2...v2.0.3
v2.0.2
Compare Source
Changes
Stopped() bool
method in pools to indicate whether the pool has been stopped or its associated context has been cancelled.Fixes
ErrPoolStopped
error is always returned when attempting to submit a task to a pool that has been stopped or its associated context cancelled.v2.0.1
Compare Source
Fixes
Wait()
from returning eagerly when tasks are executed before submitting the last one of the group.v2.0.0
Compare Source
What's new in v2?
Version 2 of
pond
introduces 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 has been generated by Renovate Bot.