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

replacing kv globals with caching module part 2 #890

Merged
merged 4 commits into from
Oct 12, 2023

Conversation

maxrichie5
Copy link
Contributor

@maxrichie5 maxrichie5 commented Sep 28, 2023

Background

This change was originally made in #884
But that was reverted here #889
This is adding it back now that we are ready to

Changes

  • Replaces kv globals with new caching module

Testing

  • CI jobs

@maxrichie5 maxrichie5 marked this pull request as ready for review October 12, 2023 21:33
@maxrichie5 maxrichie5 requested a review from a team October 12, 2023 21:33
Copy link
Contributor

@darwayne darwayne left a comment

Choose a reason for hiding this comment

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

LGTM, anything special needed with this going out?

Comment on lines -284 to -287
kv_table().put_item(Item={"key": key, _DICT_COL: data})

if epoch_seconds:
set_key_expiration(key, epoch_seconds)
Copy link
Contributor

Choose a reason for hiding this comment

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

[out of scope] rant this should really be one request instead of 2

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes true. We changed it to 1 in the caching module

@maxrichie5 maxrichie5 merged commit 24332b6 into master Oct 12, 2023
1 check passed
@maxrichie5 maxrichie5 deleted the maxrichmond/kv/using-caching-in-globals-part-2 branch October 12, 2023 22:00
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.

2 participants