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

feat: Setting background synchronization #3331

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

tofers
Copy link
Contributor

@tofers tofers commented Oct 11, 2024

PR Details

Implementing “background synchronization” provides better WhatsApp Web performance.

Motivation and Context

My clients selectively started complaining about sessions dropping out. After scanning, the session would work for a little while and would stop working. I implemented background synchronization and it helped. I think this feature will be useful

How Has This Been Tested

I tried to enable this option and the problem with clients disappeared. Maybe it's a coincidence with the update, but I left it enabled anyway.

Environment

  • Machine OS: Centos 8 and Docker
  • Phone OS: IOS
  • Library Version: 1.26.1-alpha.2
  • WhatsApp Web Version: 2.3000.1017261806
  • Puppeteer Version: 23
  • Browser Type and Version: Chrome/121.0.6167.160
  • Node Version: v20.9.0

Types of changes

  • Dependency change
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My code follows the code style of this project.
  • I have updated the documentation accordingly (index.d.ts).
  • I have updated the usage example accordingly (example.js)

Translated with DeepL.com (free version)

@tofers tofers changed the title Settings Setting background synchronization Oct 11, 2024
@tofers tofers changed the title Setting background synchronization feat: Setting background synchronization Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants