-
Notifications
You must be signed in to change notification settings - Fork 40
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
Feat: TFRS: Add Redis Service for organization balance #2919
base: release-2.22.0
Are you sure you want to change the base?
Feat: TFRS: Add Redis Service for organization balance #2919
Conversation
Co-authored-by: Your Name <[email protected]>
* fix: fix for total previous credit reductions * fix: added pending deductions logic for previous submitted reports --------- Co-authored-by: Your Name <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good just a couple items to add. ty
@@ -0,0 +1,96 @@ | |||
#!/bin/bash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add some more documentation here to explain the purpose and use case for this shell script please.
"""Seed initial data into Redis cache""" | ||
try: | ||
# Check if data has already been seeded to avoid duplicates | ||
if not redis_cache.get('redis_seeded'): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have to ensure this flag is set on the LCFS side as well when it populates its live cache. Please just confirm that is the case.
TFRS: Add Redis Service for Local Development
#1078
TFRS: Setup Redis Service and Call LCFS Cache for Available Balances
#1074