mirror of
https://github.com/dergigi/boris.git
synced 2026-01-25 09:44:48 +01:00
temp: disable mark-as-read reactions loading due to queryEvents hanging
Temporarily skip loading mark-as-read reactions to unblock the reads feature. Focus on getting reading progress working first. TODO: Debug why queryEvents hangs when querying kind:7 and kind:17 reactions. The Promise never resolves even though we're not using timeouts.
This commit is contained in:
@@ -250,13 +250,15 @@ class ReadingProgressController {
|
||||
|
||||
// Load mark-as-read reactions in background (non-blocking, fire-and-forget)
|
||||
console.log('[readingProgress] Starting background relay query for mark-as-read reactions...')
|
||||
this.loadMarkAsReadReactions(relayPool, eventStore, pubkey, startGeneration)
|
||||
.then(() => {
|
||||
console.log('[readingProgress] Mark-as-read reactions loading complete')
|
||||
})
|
||||
.catch((err) => {
|
||||
console.warn('[readingProgress] Mark-as-read reactions loading failed:', err)
|
||||
})
|
||||
// TODO: Fix queryEvents hanging for reaction queries
|
||||
// this.loadMarkAsReadReactions(relayPool, eventStore, pubkey, startGeneration)
|
||||
// .then(() => {
|
||||
// console.log('[readingProgress] Mark-as-read reactions loading complete')
|
||||
// })
|
||||
// .catch((err) => {
|
||||
// console.warn('[readingProgress] Mark-as-read reactions loading failed:', err)
|
||||
// })
|
||||
console.log('[readingProgress] [SKIPPED] Mark-as-read reactions loading disabled for now')
|
||||
|
||||
} catch (err) {
|
||||
console.error('📊 [ReadingProgress] Failed to setup:', err)
|
||||
|
||||
Reference in New Issue
Block a user