diff --git a/squinnondation/hazel.py b/squinnondation/hazel.py index 3d6575e..4039321 100644 --- a/squinnondation/hazel.py +++ b/squinnondation/hazel.py @@ -720,6 +720,9 @@ class HazelManager(Thread): self.squirrel.send_neighbours() self.last_neighbour = time.time() + # Avoid infinite loops + time.sleep(1) + class Inondator(Thread): """ @@ -740,6 +743,9 @@ class Inondator(Thread): # inundate self.squirrel.main_inundation() + # Avoid infinite loops + time.sleep(1) + class Message: """