Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rkados committed May 8, 2023
1 parent b7b1df8 commit 96128f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dataplicity/clockcheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@


CHECK_PERIOD = 1.0
MAX_CLOCK_DISCREPENCY = 180.0
MAX_CLOCK_DISCREPANCY = 180.0


class ClockCheckThread(Thread):
Expand All @@ -34,7 +34,7 @@ def run(self):
sleep(CHECK_PERIOD)
elapsed = time() - start

if elapsed > MAX_CLOCK_DISCREPENCY:
if elapsed > MAX_CLOCK_DISCREPANCY:
self.on_fail()

def on_fail(self):
Expand Down

0 comments on commit 96128f9

Please sign in to comment.