A decentralized music tracking and discovery platform built on AT Protocol 馃幍 forked from rocksky.app/rocksky

Improve batch flushing and DB pragmas master

Serialize batch flushes with a flushPromise and requeue failed events to enable retries. Clear timers and flush immediately when batch is full. Reduce batch size to 100 and increase timeout to 100ms. Update SQLite PRAGMAs: busy_timeout=30000, wal_autocheckpoint=1000, temp_store=MEMORY


+50 -29
2 changed files