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

Potentially exhausts mobile device battery #571

Open
videni opened this issue Mar 12, 2025 · 1 comment
Open

Potentially exhausts mobile device battery #571

videni opened this issue Mar 12, 2025 · 1 comment

Comments

@videni
Copy link

videni commented Mar 12, 2025

For Swift-binding, it seems there is a performance issue here,

for offline, the join_broadcast would save changes from memory to dist database when necessary, but for online, it will synchronize every 2 seconds.

self.last_sync = start_websocket_client_sync(

sleep(Duration::from_secs(2)).await;

@darkskygit
Copy link
Member

pr is welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 *Untriaged
Development

No branches or pull requests

2 participants