Skip to content

Commit

Permalink
SW 2320 fix interval time of rpm test (#1825)
Browse files Browse the repository at this point in the history
* fix time for fan rpm interval
* remove debug log
  • Loading branch information
Josef-MrBeam committed Oct 12, 2023
1 parent dd33307 commit b2c46de
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion octoprint_mrbeam/iobeam/airfilter.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ def model(self):
Returns:
str: Model name of the air filter
"""
self._logger.debug("model_id: {} con{}".format(self._model_id, self.connected))
if self._model_id in self.AIRFILTER_OR_SINGLE_MODELS and self.connected:
return self.AIRFILTER_OR_SINGLE_MODEL_ID
elif self._model_id in self.AIRFILTER2_MODELS:
Expand Down
4 changes: 1 addition & 3 deletions octoprint_mrbeam/iobeam/dust_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ class DustManager(object):
FAN_TEST_MIN_RPM = 1000 # rpm
FAN_NOT_SPINNING_TIMEOUT = 10 # time in seconds before reporting the error
FAN_DATA_MISSING_TIMEOUT = 10 # time in seconds before reporting the error
REPEAT_TEST_FAN_RPM_INTERVAL = (
60 # time in seconds between fan rpm tests #TODO set to 30*60 again
)
REPEAT_TEST_FAN_RPM_INTERVAL = 30 * 60 # time in seconds between fan rpm tests

def __init__(self, plugin):
self._plugin = plugin
Expand Down

0 comments on commit b2c46de

Please sign in to comment.