-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Multiple Queue improvements: LevelDB Wait on empty, shutdown empty shadow level queue, reduce goroutines etc #15693
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
Merged
Merged
Changes from 28 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
b45c3ae
move shutdownfns, terminatefns and hammerfns out of separate goroutines
zeripath 105a121
oops windows;
zeripath 7976e99
comment changes
zeripath 8815d90
Update manager_windows.go
zeripath 159c3a1
The LevelDB queues can actually wait on empty instead of polling
zeripath dd18577
Merge branch 'master' into wait-on-empty
zeripath 86b597f
Merge branch 'master' into wait-on-empty
zeripath 12f2f45
Merge branch 'wait-on-empty' of github.com:zeripath/gitea into wait-o…
zeripath ec99e10
Shutdown the shadow level queue once it is empty
zeripath 0c107aa
Remove bytefifo additional goroutine for readToChan as it can just be…
zeripath c41b52a
Remove additional removeWorkers goroutine for workers
zeripath 5e35339
simplify zero boost
zeripath f546070
Merge branch 'graceful-context' into wait-on-empty
zeripath eda962d
Simplify the AtShutdown and AtTerminate functions and add Channel Flu…
zeripath 5fc1c80
add logging
zeripath 5ea5882
Add shutdown flusher to CUQ
zeripath fb4b1c9
move persistable channel shutdown stuff to Shutdown Fn
zeripath b0bbd0d
Ensure that UPCQ has the correct config
zeripath 803dc56
Merge branch 'master' into wait-on-empty
zeripath 6b95a89
placate lint
zeripath 0878aa3
Merge branch 'master' into wait-on-empty
zeripath 293839c
Merge branch 'main' into wait-on-empty
zeripath dae99ea
pass down context
zeripath a58b7ed
Merge branch 'main' into wait-on-empty
6543 0f9aea8
fix test
zeripath 7b18173
Merge branch 'wait-on-empty' of github.com:zeripath/gitea into wait-o…
zeripath 795000b
handle shutdown during the flushing
zeripath a5809e9
reduce risk of race between zeroBoost and addWorkers
zeripath b14af1f
update comment as per 6543
zeripath a9872d2
Merge branch 'main' into wait-on-empty
zeripath 24ca154
prevent double shutdown
zeripath e876fec
rename contexts and their cancel fns
zeripath 6a60b2a
few missed commits
zeripath a5b2de5
Merge remote-tracking branch 'origin/main' into wait-on-empty
zeripath cff032f
fix-windows
zeripath 68ffb7a
Merge branch 'main' into wait-on-empty
zeripath 3bbfdb6
Merge branch 'main' into wait-on-empty
zeripath cbd2c3e
Merge branch 'main' into wait-on-empty
lafriks File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.