Skip to content

feat(trust): cache user names in DB to eliminate API calls on /trusted#15

Merged
rezhajulio merged 1 commit into
mainfrom
feat/cache-trusted-user-names
Jun 16, 2026
Merged

feat(trust): cache user names in DB to eliminate API calls on /trusted#15
rezhajulio merged 1 commit into
mainfrom
feat/cache-trusted-user-names

Conversation

@rezhajulio

Copy link
Copy Markdown
Owner

Store user_full_name and username in TrustedUser model at trust time. /trusted list now reads from DB instead of calling bot.get_chat() per user. Adds SQLite migration for existing production databases.

Store user_full_name and username in TrustedUser model at trust time.
/trusted list now reads from DB instead of calling bot.get_chat() per
user. Adds SQLite migration for existing production databases.
@rezhajulio rezhajulio merged commit 3369d81 into main Jun 16, 2026
5 checks passed
@rezhajulio rezhajulio deleted the feat/cache-trusted-user-names branch June 16, 2026 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant