soulsync/api
JohnBaumb ea875cc7af fix: throttle auth last_used_at config writes
Every authenticated API request previously called config_mgr.set(api_keys),
which rewrites the entire app config blob to SQLite. Under load this caused
significant write amplification and lock contention.

Persistence of last_used_at is now throttled per key hash to once every
15 minutes. The in-memory timestamp on the matched key is still updated
immediately, so reads within the same process see the live value; only
the on-disk persistence is throttled.
2026-04-19 15:22:24 -07:00
..
__init__.py Add inbound music request API and webhook automation trigger 2026-04-15 20:35:39 -07:00
auth.py fix: throttle auth last_used_at config writes 2026-04-19 15:22:24 -07:00
cache.py enrich SoulSync API and update the DOCS 2026-03-04 13:42:47 -08:00
discover.py enrich SoulSync API and update the DOCS 2026-03-04 13:42:47 -08:00
downloads.py Enrich the SoulSync API 2026-03-04 13:19:39 -08:00
helpers.py Enrich the SoulSync API 2026-03-04 13:19:39 -08:00
library.py Add interactive REST API docs with full endpoint tester and complete metadata serialization 2026-03-13 17:45:01 -07:00
listenbrainz.py Full automation engine expansion with scheduling, triggers, actions, and UI polish 2026-03-05 15:13:32 -08:00
playlists.py Add SoulSync REST API (v1) with API key authentication 2026-03-03 09:49:00 -08:00
profiles.py enrich SoulSync API and update the DOCS 2026-03-04 13:42:47 -08:00
request.py Add inbound music request API and webhook automation trigger 2026-04-15 20:35:39 -07:00
retag.py enrich SoulSync API and update the DOCS 2026-03-04 13:42:47 -08:00
search.py Fix remaining Spotify-first source selection in seasonal discovery and search API 2026-04-10 12:47:16 -07:00
serializers.py Add interactive REST API docs with full endpoint tester and complete metadata serialization 2026-03-13 17:45:01 -07:00
settings.py Encrypt sensitive config values at rest with Fernet — transparent migration, zero breaking changes 2026-03-12 09:25:25 -07:00
system.py Add SoulSync REST API (v1) with API key authentication 2026-03-03 09:49:00 -08:00
watchlist.py Enrich the SoulSync API 2026-03-04 13:19:39 -08:00
wishlist.py Enrich the SoulSync API 2026-03-04 13:19:39 -08:00