• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Pushing the truth
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pushing the truth


  • Subject: Re: Pushing the truth
  • From: Nick Zitzmann <email@hidden>
  • Date: Sat, 26 Jan 2008 19:07:42 -0700


On Jan 26, 2008, at 6:56 PM, Glen Low wrote:

During the slow sync "simulation-of-push-the-truth", can I simply skip the pull phase in my code, or will Sync Services attempt to pull stuff down during the next sync?

You shouldn't skip pull phases unless Sync Services says otherwise. Calling one of the "prepare to pull" methods will put the sync server into mingling mode once all of the clients have finished pushing.


Should I do a refresh sync instead which at least avoids pulling down deletes?


That really depends. You should perform slow syncs when you want to override everything in the Truth, and refresh syncs in situations where you think you might be missing data. Sync Services automatically orders refresh syncs if the client didn't complete a session for whatever reason (e.g. the client crashed or timed out).

Nick Zitzmann
<http://www.chronosnet.com/>




_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Pushing the truth (From: Glen Low <email@hidden>)
 >Re: Pushing the truth (From: Nick Zitzmann <email@hidden>)
 >Re: Pushing the truth (From: Glen Low <email@hidden>)

  • Prev by Date: Re: Pushing the truth
  • Next by Date: Running an NSTask Within an NSThread
  • Previous by thread: Re: Pushing the truth
  • Next by thread: Re: Pushing the truth
  • Index(es):
    • Date
    • Thread