-
Notifications
You must be signed in to change notification settings - Fork 292
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: update backend configs regularly [WPB-14727] #18466
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #18466 +/- ##
==========================================
- Coverage 46.33% 46.33% -0.01%
==========================================
Files 845 846 +1
Lines 26379 26392 +13
Branches 5981 5983 +2
==========================================
+ Hits 12223 12229 +6
- Misses 12626 12634 +8
+ Partials 1530 1529 -1 |
Quality Gate passedIssues Measures |
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.
LGTM 🚀
@@ -77,8 +78,7 @@ const render = (Component: FC): void => { | |||
const config = Config.getConfig(); | |||
|
|||
async function runApp() { | |||
const [min, max] = config.SUPPORTED_API_RANGE; | |||
const {domain} = await core.useAPIVersion(min, max, config.ENABLE_DEV_BACKEND_API); | |||
const {domain} = await updateApiVersion(); |
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.
Don't we need to schedule updateApiVersion
job for auth app?
Description
Update following endpoints every 24h AND every "window-focus-event":