Skip to content

Commit 8d8a736

Browse files
committed
use explicit values for MTG.__init__
1 parent 6cc62f7 commit 8d8a736

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cassandra/timestamps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class MonotonicTimestampGenerator(object):
5353
Defaults to 1 second.
5454
"""
5555

56-
def __init__(self, warn_on_drift=True, warning_threshold=warning_threshold, warning_interval=warning_interval):
56+
def __init__(self, warn_on_drift=True, warning_threshold=1, warning_interval=1):
5757
self.lock = Lock()
5858
with self.lock:
5959
self.last = 0

0 commit comments

Comments
 (0)