-
Notifications
You must be signed in to change notification settings - Fork 25
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
Support sync of accepted costs between Scrooge instances #650
Conversation
|
||
def _publish_dump(dump): | ||
for recipient_url, auth_token in settings.ACCEPTED_COSTS_SYNC_RECIPIENTS: | ||
response = requests.post( # todo: retry, timeout |
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.
This todo is for later?
@@ -403,3 +403,7 @@ | |||
PERCENT_DIFF_EPSILON = 0.0001 | |||
# recalculate costs on /scrooge/api/v0.9/pricingserviceusages/ | |||
ENABLE_RECALCULATE_COSTS_ON_POST = True | |||
|
|||
ACCEPTED_COSTS_SYNC_RECIPIENTS = [] |
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.
I think it would be good to add comment about how ACCEPTED_COSTS_SYNC_RECIPIENTS data format should look like.
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.
Approved by misclick.
No description provided.