From 3ace8a79642f11cb14df260a2d91caeeec4f1350 Mon Sep 17 00:00:00 2001 From: Abhijit Gupta Date: Sat, 13 Jan 2024 14:17:22 -0500 Subject: [PATCH] Transition to 2024 --- backend/deploy/app.yaml | 2 +- backend/src/routers/dev.py | 2 +- frontend/src/constants.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/deploy/app.yaml b/backend/deploy/app.yaml index 884ab5ac..fef26e47 100644 --- a/backend/deploy/app.yaml +++ b/backend/deploy/app.yaml @@ -8,7 +8,7 @@ instance_class: F1 #prevents creating additional instances automatic_scaling: min_instances: 0 - max_instances: 8 + max_instances: 1 env_variables: PROD: true diff --git a/backend/src/routers/dev.py b/backend/src/routers/dev.py index c4ed92ec..459d1f91 100644 --- a/backend/src/routers/dev.py +++ b/backend/src/routers/dev.py @@ -40,7 +40,7 @@ async def get_user_raw( async def get_wrapped_user_raw( response: Response, user_id: str, - year: int = 2023, + year: int = 2024, access_token: Optional[str] = None, ) -> WrappedPackage: await update_keys() diff --git a/frontend/src/constants.js b/frontend/src/constants.js index 2204b15f..f690c98a 100644 --- a/frontend/src/constants.js +++ b/frontend/src/constants.js @@ -28,4 +28,4 @@ export const BACKEND_URL = PROD ? 'https://api.githubtrends.io' : 'http://localhost:8000'; -export const CURR_YEAR = 2023; +export const CURR_YEAR = 2024;