waha icon indicating copy to clipboard operation
waha copied to clipboard

[Feature Request] - multiple workers with a single database (MongoDB or a single .session Folder)

Open HuangDaHui opened this issue 1 year ago • 3 comments

This is the case with WEBJS or NOWEB, I don’t know how to avoid it.

HuangDaHui avatar Sep 04 '24 09:09 HuangDaHui

Perhaps adding the MongoDB database name prefix configuration can solve this problem?

HuangDaHui avatar Sep 04 '24 09:09 HuangDaHui

Yes, right now only way to use is to use different databases :( Or when you use a single one you need to set WHATSAPP_RESTART_ALL_SESSIONS=False so it doesn't run ALL sessions in ALL workers

We'll work on that so you can use signle database with multiple WAHA workers!

patron:PRO

devlikepro avatar Sep 05 '24 06:09 devlikepro

Yes, right now only way to use is to use different databases :( Or when you use a single one you need to set WHATSAPP_RESTART_ALL_SESSIONS=False so it doesn't run ALL sessions in ALL workers

We'll work on that so you can use signle database with multiple WAHA workers!

patron:PRO

OK, looking forward to your updates, thank you

HuangDaHui avatar Sep 05 '24 06:09 HuangDaHui