mirror of
https://github.com/ProjectSynthoria/SynthoriaArchive.git
synced 2025-11-22 01:15:45 +02:00
Using Flask-Caching, we can memoize the magnet_uri method. Here, a timeout of 1 hour is chosen, though that value can be fiddled with. The cache is defined in extensions.py, but gets initialised in __init__.py. |
||
|---|---|---|
| .. | ||
| static | ||
| templates | ||
| views | ||
| __init__.py | ||
| api_handler.py | ||
| backend.py | ||
| bencode.py | ||
| email.py | ||
| extensions.py | ||
| forms.py | ||
| models.py | ||
| search.py | ||
| template_utils.py | ||
| torrents.py | ||
| utils.py | ||