Skip to content

Commit

Permalink
feat: utils directory for caching
Browse files Browse the repository at this point in the history
  • Loading branch information
tuneerroy committed Sep 28, 2023
1 parent 5a0ce66 commit f295bd4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions backend/utils/cache.py
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit f295bd4

Please sign in to comment.