command scheduler removed commented code
@@ -27,10 +27,10 @@ class CommandScheduler(object):
if CommandScheduler._add_command_to_connection(cmd=connection_observer, wait_for_slot=False):
# We have a free slot available
return
+ # We have to wait to finish other command(s) so let's do it in another thread.
t1 = Thread(target=CommandScheduler._add_command_to_connection, args=(connection_observer, True))
t1.setDaemon(True)
t1.start()
- # time.sleep(0.1)
@staticmethod
def remove_connection_observer_from_connection(connection_observer):
