Skip to content

Conversation

julienbourdeau
Copy link
Contributor

No description provided.

@julienbourdeau julienbourdeau self-assigned this Apr 17, 2025
julienbourdeau added a commit that referenced this pull request Apr 24, 2025
…rent_usage (#3528)

## Description

[Alerting](#3510) is coming and
we need to calculate CurrentUsage only once per subscription for all
services.
This PR breaks down `RecalculateAndCheckService` into 2 services:

* `CalculateService`: was already there but current_usage can be
injected (not used yet)
* `CheckThresholdsService`: The same as RecalculateAndCheckService
except I removed the inner call to `CalculateService`.
@julienbourdeau
Copy link
Contributor Author

Closed in favor of #3535 and #3554

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.

1 participant