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

Remove redis_get/redis_set from functions where possible##274 #280

Closed
wants to merge 4 commits into from

Conversation

npalchur
Copy link
Contributor

reducing the multiple times calling cache to improve better optimization

Copy link
Collaborator

@adhil0 adhil0 left a comment

Choose a reason for hiding this comment

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

Nice work -
Marked some issues. There are also some linting issues that can be resolved using black or ruff.

.vscode/settings.json Outdated Show resolved Hide resolved
dashboard/src/t5gweb/ui.py Show resolved Hide resolved
dashboard/src/t5gweb/t5gweb.py Outdated Show resolved Hide resolved
dashboard/src/t5gweb/ui.py Outdated Show resolved Hide resolved
dashboard/src/t5gweb/ui.py Outdated Show resolved Hide resolved
@dcritch
Copy link
Contributor

dcritch commented Mar 28, 2024

lgtm. thanks Naresh!

Copy link
Collaborator

@adhil0 adhil0 left a comment

Choose a reason for hiding this comment

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

Last change - can you change all instances of redis_get("time_stamp") to redis_get("timestamp")? That's what our cache entry is

@npalchur
Copy link
Contributor Author

duplicate

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.

3 participants