Remove timeout upon failure
This commit is contained in:
parent
c1c00e2868
commit
bfce99b8e9
1 changed files with 1 additions and 7 deletions
|
|
@ -67,13 +67,7 @@ class StateManager:
|
||||||
while not self.stop_thread:
|
while not self.stop_thread:
|
||||||
try:
|
try:
|
||||||
if self.renderables[self.state].is_dynamic:
|
if self.renderables[self.state].is_dynamic:
|
||||||
if not self.__pixlet_helper.push_to_tidbyt(
|
self.__pixlet_helper.push_to_tidbyt(self.renderables[self.state])
|
||||||
self.renderables[self.state]
|
|
||||||
):
|
|
||||||
self.logger.warning(
|
|
||||||
f"Failed to push {self.state.name} to TidByt - pausing for {10 * self.timeout} seconds"
|
|
||||||
)
|
|
||||||
sleep(10 * self.timeout)
|
|
||||||
sleep(self.timeout)
|
sleep(self.timeout)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.logger.warning(
|
self.logger.warning(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue