mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
Login with NIP-07 extensions was extremely slow because list loading (blocks, subscriptions, hashtag preferences) happened sequentially and each list's decryption tried encryption schemes one at a time. Changes: - Load blocks, subscriptions, and hashtags in parallel instead of sequentially (blocks no longer blocks other lists from starting) - Use Promise.any() to try all decryption schemes simultaneously instead of trying nip44_v2 → nip44 → nip04 one-by-one - Deduplicate same-family schemes (nip44/nip44_v2) to avoid redundant extension calls - Increase NIP-07 request queue concurrency from 3 to 5 to support parallel decrypt operations during login - Raise no-prompt decrypt timeout from 3s/5s to 8s since extensions that have already granted permission still need time to decrypt - Increase feed sync timeout from 8s to 12s to give lists more time to settle before rendering unfiltered content https://claude.ai/code/session_01V6m1gTecsppPrBHQnUyPnF