Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

Sync on reconnect #17

Open
marcusvrlopes opened this issue Apr 17, 2017 · 2 comments
Open

Sync on reconnect #17

marcusvrlopes opened this issue Apr 17, 2017 · 2 comments

Comments

@marcusvrlopes
Copy link

HI.
I have been using this plugin from the beginning. Congratulations on your hard work on this subject.
I am wondering if it is possible to control synchronization with the server by some condition, such as time / hour, for example, and not just by the online status condition.
This is necessary in my case because the user has a lot of updates on the heap, and the application has become inoperative when the synchronization begins and until the full synchronization is completed the user can't do nothing that envolves querys.
I want to do this job only at a certain time to avoid the freezing screen, as I said. Is it possible?

@adriancarriger
Copy link
Owner

Thanks for bringing this up! A public synchronization method would work, but I'm curious if using web workers would also solve the issue. When I have some time I would like to look into this, and I'm happy to get input/PRs from others. Thanks!

@larssn
Copy link

larssn commented May 11, 2017

Just wanted to chime in:

This sounds like it could be of use to us as well, as we operate in the hostel business, where a lot of orders get pushed around on bad networks. So we could easily experience needing to push a large amount of data at once.

Anyway Adrian, thanks for your work on this!

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

No branches or pull requests

3 participants