Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Add a FROZEN Status for Temporarily Disabled Sessions #719

Closed
Sabyrzhanuly opened this issue Dec 30, 2024 · 1 comment
Closed

Comments

@Sabyrzhanuly
Copy link

Sabyrzhanuly commented Dec 30, 2024

I wanted to suggest an improvement. Could you add an additional status besides STOPPED? For example, I have sessions that are temporarily disabled but don’t need to be deleted. However, there’s an issue with restarting these sessions when updating WAHA.

For instance, a FROZEN status could be implemented, and such sessions wouldn’t be affected at all until they are manually started.

patron:PLUS

@devlikepro
Copy link
Contributor

devlikepro commented Jan 2, 2025

Hi!
Starting from 2024.10.5 WAHA tracks "running" sessions and only restart those that were "running" after update (#491)
Looks like you're using WHATSAPP_RESTART_ALL_SESSIONS=True flag, right?

Try doing the following next time when updating WAHA:

  1. Save list of "running/working" session (just in case something goes wrong, so you can start it manually)
  2. Remove WHATSAPP_RESTART_ALL_SESSIONS=True
  3. Update/Restart container

It should start only previously "running" sessions.
If you hit "stop" via API or Dashboard - WAHA remembers that the session was stopped and will not restart it on next update/server restart.

Here's what running sessions mean:

image

patron:PRO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants