def handle(self, sock, read_data, path, headers):
        "Just waits, and checks for other actions to replace us"
        for i in range(self.timeout // self.check_interval):
            # Sleep first
            eventlet.sleep(self.check_interval)
            # Check for another action
            action = self.balancer.resolve_host(self.host)
            if not isinstance(action, Spin):
                return action.handle(sock, read_data, path, headers)
        # OK, nothing happened, so give up.
        action = Static(self.balancer, self.host, self.matched_host, type="timeout")
        return action.handle(sock, read_data, path, headers)
def handle ( self , sock , read_data , path , headers ) : for i in range ( self . timeout // self . check_interval ) : eventlet . sleep ( self . check_interval ) action = self . balancer . resolve_host ( self . host ) if not isinstance ( action , Spin ) : return action . handle ( sock , read_data , path , headers ) action = Static ( self . balancer , self . host , self . matched_host , type = "timeout" ) return action . handle ( sock , read_data , path , headers )
Just waits, and checks for other actions to replace us