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

fix: using schema_name in redis key #385

Merged
merged 1 commit into from
Jan 24, 2025
Merged

fix: using schema_name in redis key #385

merged 1 commit into from
Jan 24, 2025

Conversation

Datron
Copy link
Collaborator

@Datron Datron commented Jan 24, 2025

Problem

The variable schema_name is de-referenced only once, doing it twice grants access to the string it's wrapping

Solution

De-reference twice

@Datron Datron requested a review from a team as a code owner January 24, 2025 07:37
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8e28bdad6db2b8340e449f7108f020b3b092e8583a9e3fb82713e1d4e71fe817"
checksum = "d6b6f7f2fcb69f747921f79f3926bd1e203fce4fef62c268dd3abfb6d86029aa"
Copy link
Collaborator

Choose a reason for hiding this comment

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

do we need cargo lock change for this ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It made the change after I compiled with high-performance-mode flag

@ShreyBana
Copy link
Collaborator

Is this causing a compilation failure?

@Datron
Copy link
Collaborator Author

Datron commented Jan 24, 2025

@ShreyBana it will if you do make run -e FEATURES=high-performance-mode. The custom version we run internally runs with this feature flag

@Datron Datron merged commit 18dfc5d into main Jan 24, 2025
4 checks passed
@Datron Datron deleted the fix-hp-mode branch January 24, 2025 08:05
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