-
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added _timeSync Meteor Method for doing timesync over DDP instead of HTTP - Auto switch to DDP after initial HTTP timesync to improve subsequent round trip times - Added option TimeSync.forceDDP to always use DDP, even for first sync (which may be slow!) - Shortened resync interval from 1 minute to 30 seconds when using DDP. - Added tests for DDP and HTTP sync - Added option to set the timesync URL using `TimeSync.setSyncUrl`
- Loading branch information
Showing
5 changed files
with
115 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Need to do more testing with this, maybe even pull it out completely... Meteor methods seem to be very slow! After looking through the commit history, it looks like rawConnectHandlers is the fastest way to go.