-
Notifications
You must be signed in to change notification settings - Fork 29
🐛Redis locks disappearing and fixup weird usage #7020
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
sanderegg
merged 82 commits into
ITISFoundation:master
from
sanderegg:bugfixes/redis-lock-failing2
Jan 14, 2025
Merged
Changes from all commits
Commits
Show all changes
82 commits
Select commit
Hold shift + click to select a range
158a548
unskip test
sanderegg b83a4ed
add function to create distributed locks
sanderegg 9367e12
prepare exclusive decorator instead of context manager
sanderegg 15b302a
ongoing
sanderegg 7c714b4
ongoing
sanderegg 820d4fc
adapted test
sanderegg a994725
moved async_delay to async_utils and renamed
sanderegg 58f5c56
cleanup
sanderegg bb527e2
refactor
sanderegg 6939e3b
cleanup
sanderegg 5fe0ab6
typing
sanderegg 0ab6b96
remove lock_context
sanderegg 51c0ee6
renaming
sanderegg d412df8
renaming
sanderegg b69e128
ongoing
sanderegg ca859f8
fix wrong name
sanderegg c900e52
add redis commander
sanderegg 026b7b1
better names
sanderegg 2877f4b
exclusive expects coroutines
sanderegg eea85df
syntax
sanderegg d0fd5a6
raise timeout error
sanderegg f1a3a9f
re-write exclusive task starter
sanderegg 74f1b2d
added periodic function decorator
sanderegg ff5fc8b
test passing
sanderegg 8f148b2
test decorator
sanderegg 974ac7a
@pcrespov review: rename
sanderegg ebce6a4
removed useless code
sanderegg 964d7c5
add default
sanderegg 7bd12ab
rename
sanderegg 613c51a
cleanup
sanderegg ea67118
clean
sanderegg 561019c
refactor
sanderegg f3ca43c
refactor
sanderegg fba8d53
more cleanups
sanderegg fec85df
ongoing
sanderegg 0291b7f
almost fully tested
sanderegg 6e07765
added the blocking behavior
sanderegg 6f0661e
rename
sanderegg 789371b
remove duplicate of duplicate
sanderegg c73d34f
clean
sanderegg e1d78ca
remove usage of lock_context
sanderegg d7bae0e
mypy
sanderegg 0be583e
fixed call
sanderegg 167cb5a
renaming
sanderegg ae59f0b
move out
sanderegg 8f89854
minor
sanderegg 34c7d46
name the asyncio task
sanderegg 9d83bb1
fix name
sanderegg 6aae220
minor
sanderegg 7628fbc
ruff
sanderegg 563896f
refactor
sanderegg e6eab3e
missing
sanderegg 4542b98
improved lock value
sanderegg a61a220
fixed usage
sanderegg 18774e8
improve docs
sanderegg e8dff45
improve fixture
sanderegg 184d927
docs
sanderegg 1333a86
set envs correctly
sanderegg 1f5d893
add waiting for calls
sanderegg 5775b01
doc
sanderegg dc276f3
ongoing
sanderegg d4b26d3
test passes
sanderegg 846c637
test passes
sanderegg 14831d0
moved exclusive periodic
sanderegg 1799991
moved exclusive start to its own module
sanderegg a781aa3
change usage
sanderegg f6f012f
renamed
sanderegg 90365ce
doc
sanderegg 6d9379c
fix weird issue
sanderegg 5c7ba02
fixed test
sanderegg 66b22a9
much faster tests
sanderegg 2c49b08
clean
sanderegg d02a891
ensure healthcheck task started
sanderegg fb6c2bd
fixed shutdown
sanderegg 3a41a12
name
sanderegg cd3e071
no use
sanderegg 8f8c7c5
added utils to complete testing
sanderegg 0c72d44
remove use of setup
sanderegg 746fffb
no setup
sanderegg f0c0a6d
@GitHK review
sanderegg b30e1d6
@pcrespov review: renaming things
sanderegg b3c6b34
@pcrespov reviews
sanderegg 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
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.
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.