Skip to content

Commit

Permalink
passing polling_interval as keyword arg
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesHutchison committed Sep 23, 2024
1 parent dce4de2 commit e6d61cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytest_hot_reloading/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ def lagged_listdir(*args, **kwargs):
time.sleep(0.02 * poll_throttle) # give CPU a break!
return listdir(*args, **kwargs)

super().__init__(stat, lagged_listdir, polling_interval * poll_throttle)
super().__init__(stat, lagged_listdir, polling_interval=polling_interval * poll_throttle)

jurigged.live.PollingObserverVFS = NewPollingObserverVFS

Expand Down

0 comments on commit e6d61cf

Please sign in to comment.