2 months ago
6549faeThe publish protocol and retry executor were holding the shared control_db Mutex lock for the entire duration of execute_publish, which includes network I/O. This blocked all other operations that need the control DB for potentially minutes. Open a dedicated SQLite connection for the publish execution instead. WAL mode allows concurrent readers/writers, so the dedicated connection can write operation state updates without blocking the shared Mutex.
Parent446932d