Skip to content
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

Feature/implement fast load lock #276

Merged
merged 11 commits into from
Mar 28, 2022

Conversation

mski-iksm
Copy link
Contributor

@mski-iksm mski-iksm commented Feb 23, 2022

issue: #265

I've implemented redis lock following above issue.
Please review!

@mski-iksm mski-iksm marked this pull request as ready for review February 25, 2022 17:39
Copy link
Collaborator

@hirosassa hirosassa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mski-iksm Thanks for great contribution!

I put a few comments for documentation.
Could you also add doc here?
https://github.com/m3dev/gokart/blob/master/docs/using_task_cache_collision_lock.rst

gokart/redis_lock.py Outdated Show resolved Hide resolved
Comment on lines 154 to 155
# When TargetOnKart.remove() is called, remove() must be simply wrapped with redis lock.
# https://github.com/m3dev/gokart/issues/265
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be documented, too.

Copy link
Collaborator

@hirosassa hirosassa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

gokart/redis_lock.py Outdated Show resolved Hide resolved
Copy link
Member

@kitagry kitagry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Hi-king
Copy link
Member

Hi-king commented Mar 28, 2022

@mski-iksm thx for cool improvement :)

@hirosassa @kitagry thx for reviews!

Merged

@Hi-king Hi-king merged commit 904268f into m3dev:master Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants