From 5e7c62bca51795c8cbdae2f438ea5dfe0b8d2528 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 30 Jul 2010 18:15:24 +0900 Subject: [PATCH] don't compensate for clock skew --- anki/sync.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/anki/sync.py b/anki/sync.py index a1b767de2..8abe25914 100644 --- a/anki/sync.py +++ b/anki/sync.py @@ -120,11 +120,9 @@ class SyncTools(object): if self.localTime == self.remoteTime: return False l = self._lastSync(); r = self.server._lastSync() - # Set lastSync to the lower of the two sides, minus some leeway for - # clock skew. Near the end of the sync we'll bump this to the new - # time. + # set lastSync to the lower of the two sides if l != r: - self.deck.lastSync = min(l, r) - 350 + self.deck.lastSync = min(l, r) else: self.deck.lastSync = l return True