Skip to content

Implement background synchronization #155

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

Merged
merged 6 commits into from
Oct 2, 2019
Merged

Conversation

caiyue1993
Copy link
Owner

@caiyue1993 caiyue1993 commented Aug 4, 2019

Hi guys, #132 was closed by mistake and I've proposed this new PR regarding background sync issue. I've optimized the code a little and worked as expected.

As #132 said, this pr should resolve #88.

Please review it if you have time @kitlangton @dbmrq

kitlangton and others added 2 commits August 5, 2019 02:14
# Conflicts:
#	IceCream/Classes/SyncObject.swift
1. use BackgroundWorkder as a singleton
2. set perform waitUntilDone param as `true`
3. optimize the code
@dbmrq
Copy link
Contributor

dbmrq commented Aug 5, 2019

Awesome, I'll give it a try later this week! ❤️

@caiyue1993
Copy link
Owner Author

Already pass Realm.Configuration as an argument in place of the Realm object @limura

@limura
Copy link

limura commented Aug 6, 2019

@caiyue1993 Awesome!
I don't have time to try this out myself, but I think it works!
I appreciate your work!

@caiyue1993 caiyue1993 merged commit 050e2c9 into master Oct 2, 2019
@caiyue1993 caiyue1993 deleted the kitlangton-master branch October 2, 2019 08:06
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.

Hangs when there are too many changes
4 participants