Questions About Session Transfer and Compatibility Between Servers and Engines #657
-
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi!
Yes, you need to stop docker container and copy
WhatsApp doesn't allow it - it'll continue restarting sessions on both servers due to "Conflict" reason on websocket. Right now WAHA doesn't have any detection for that - this is why we're suggesting using horizontal scaling using sharding (aka servers have different databases)
Nope, and we don't have plans to implement that yeat. |
Beta Was this translation helpful? Give feedback.
Hi!
Yes, you need to stop docker container and copy
.sessions
orsessions
folder to the new server if you're using default installationWhatsApp doesn't allow it - it'll continue restarting sessions on both servers due to "Conflict" reason on websocket. Right now WAHA doesn't have any detection for that - this is why we're suggesting using horizontal scaling using sharding (aka servers have different databases)
https://waha.devlike.pro/blog/waha-scaling-how-to-handle-500-sessions/#horizontal-scaling---sharding