tulir / whatsmeow

Go library for the WhatsApp web multidevice API
https://go.mau.fi/whatsmeow
Mozilla Public License 2.0
2.27k stars 422 forks source link

[Client ERROR] Failed to save push name of xxxxxxx@s.whatsapp.net in device store: database is locked (5) (SQLITE_BUSY) #699

Open Diden05 opened 5 hours ago

Diden05 commented 5 hours ago

When receiving any message, I get this error: [Client ERROR] Failed to save push name of ххххххххх@s.whatsapp.net in device store: database is locked (5) (SQLITE_BUSY) How to fix?

SoursopID commented 2 hours ago

You're using SQLite database. Sometimes it struggle to handle multiple connections and fast R/W tasks.

Using PostgreSQL are the best choice instead of SQLite.