Skip to content

Commit

Permalink
🐛 Change cache into 3 hour instead 24hour
Browse files Browse the repository at this point in the history
  • Loading branch information
lleans committed Apr 1, 2024
1 parent 9d03d83 commit 3d76642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion router.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ async def get_location_based(request: Request) -> RedirectResponse:
}
}}
})
@cache(expire=86400)
@cache(expire=10800)
async def main_app(
query: Annotated[str, Path(
title="Location query", description="Pass your city/country name")],
Expand Down

0 comments on commit 3d76642

Please sign in to comment.