Fix Bluesky integration caching and API session management

- Fix stale cache issue: assignment pages now show updated data immediately
- Implement persistent session management to reduce createSession API calls
- Add robust error handling for cache operations when Memcached unavailable
- Eliminate code duplication in get_profile method with _make_profile_request
- Add Bluesky credentials configuration to config_local.py.example

Resolves caching problems and API rate limiting issues in development and production.
This commit is contained in:
Oliver Falk
2025-10-16 11:37:47 +02:00
parent 844aca54a0
commit 8b04c170ec
4 changed files with 140 additions and 13 deletions

View File

@@ -44,3 +44,7 @@ import os
# Example: Override logs directory for production
# LOGS_DIR = "/var/log/ivatar"
# Bluesky integration credentials
# BLUESKY_IDENTIFIER = "your-bluesky-handle"
# BLUESKY_APP_PASSWORD = "your-app-password"