From f295bd4f83660f5b5210f212759a08605b7b81ef Mon Sep 17 00:00:00 2001 From: Tuneer Roy <53184517+tuneerroy@users.noreply.github.com> Date: Thu, 28 Sep 2023 17:01:34 -0400 Subject: [PATCH] feat: utils directory for caching --- backend/utils/cache.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 backend/utils/cache.py diff --git a/backend/utils/cache.py b/backend/utils/cache.py new file mode 100644 index 00000000..cd2c980e --- /dev/null +++ b/backend/utils/cache.py @@ -0,0 +1,5 @@ +MINUTE_IN_SECONDS = 60 +HOUR_IN_SECONDS = 60 * MINUTE_IN_SECONDS +DAY_IN_SECONDS = 24 * HOUR_IN_SECONDS +MONTH_IN_SECONDS_APPROX = 30 * DAY_IN_SECONDS +YEAR_IN_SECONDS_APPROX = 365 * DAY_IN_SECONDS