Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
6e5bf9f
reduce cache size (#21)
Kilo59 May 2, 2020
da822ba
Update Procfile
Kilo59 May 2, 2020
b085652
Update Procfile
Kilo59 May 3, 2020
a1dcfb4
Update jhu.py
Kilo59 May 3, 2020
cc768a9
update max requests and max jitters
Kilo59 May 4, 2020
ba056ce
Add .deepsource.toml
deepsourcebot May 7, 2020
e54724e
Update Procfile
Kilo59 May 8, 2020
170eb12
Cache mem optimize (#23)
Kilo59 May 9, 2020
7fe38b9
Sentry (#24)
Kilo59 May 9, 2020
96efc92
use official middleware (#25)
Kilo59 May 9, 2020
ecb0a68
cache redis json serialization error
Kilo59 May 9, 2020
464453d
fix nyt redis serialization error
Kilo59 May 9, 2020
aa8b51d
refactor Timeline class to pydantic model
tanwinn May 20, 2020
f98447e
partial recovery fix (#31)
Kilo59 May 20, 2020
4bde047
Formatting & version (#32)
Kilo59 May 20, 2020
a955670
update FastAPI .54.1 -> .64.1 (#34)
Kilo59 Jul 28, 2020
eaebf76
update uvicorn
Kilo59 Aug 1, 2020
3a2975f
2 workers
Kilo59 Aug 1, 2020
d4088c6
Merge branch 'master' into refactor#28
Kilo59 Aug 10, 2020
f53e661
'Refactored by Sourcery' (#35)
sourcery-ai[bot] Aug 10, 2020
ba5050e
Refactored by Sourcery (#33)
sourcery-ai[bot] Aug 10, 2020
a4fd67b
fix Coordinates import
Kilo59 Sep 14, 2020
76014f7
fix jhu timeline init call
Kilo59 Sep 14, 2020
cf65e6e
update requirements
Kilo59 Sep 14, 2020
d954534
Merge pull request #30 from Kilo59/refactor#28
Kilo59 Sep 14, 2020
d66ce54
Merge branch 'master' into master
Kilo59 Sep 14, 2020
239c3bf
fix ValueError
Kilo59 Oct 29, 2020
a9816e9
add StatusCake uptime monitoring
Kilo59 Mar 13, 2021
578b60e
revert to 1 hour cache
Kilo59 Mar 21, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update jhu.py
  • Loading branch information
Kilo59 authored May 3, 2020
commit a1dcfb4d87cfddb2a67b364580af366455b485d1
2 changes: 1 addition & 1 deletion app/services/location/jhu.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ async def get(self, loc_id): # pylint: disable=arguments-differ
)


@cached(cache=TTLCache(maxsize=32, ttl=1800))
@cached(cache=TTLCache(maxsize=4, ttl=1800))
async def get_category(category):
"""
Retrieves the data for the provided category. The data is cached for 30 minutes locally, 1 hour via shared Redis.
Expand Down