Skip to content

Commit

Permalink
SW-3918 backpropagate hotfix v0.14.1.post1 (#1809)
Browse files Browse the repository at this point in the history
  • Loading branch information
Josef-MrBeam authored Sep 22, 2023
2 parents ca630e1 + 51866e5 commit fecef08
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions octoprint_mrbeam/iobeam/dust_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ def send_laser_job_event(self):
)

def __continue_dust_extraction(self, value, started):
if time.time() - started > self.FINAL_DUSTING_PHASE1_DURATION:
if monotonic_time() - started > self.FINAL_DUSTING_PHASE1_DURATION:
return False
if self._dust is not None and self._dust < value:
return False
Expand Down Expand Up @@ -641,7 +641,7 @@ def _start_validation_timer(self, delay=0):
self._validation_timer.cancel()
if (
self._timer_boost_ts > 0
and time.time() - self._timer_boost_ts > self.MAX_TIMER_BOOST_DURATION
and monotonic_time() - self._timer_boost_ts > self.MAX_TIMER_BOOST_DURATION
):
self._unboost_timer_interval()
if not self._shutting_down:
Expand All @@ -658,7 +658,7 @@ def _start_validation_timer(self, delay=0):
self._logger.debug("Shutting down.")

def _boost_timer_interval(self):
self._timer_boost_ts = time.time()
self._timer_boost_ts = monotonic_time()
self._validation_timer_interval = self.BOOST_TIMER_INTERVAL
# want the boost immediately, se reset current timer
self._start_validation_timer()
Expand Down

0 comments on commit fecef08

Please sign in to comment.