diff --git a/facedancer/backends/hydradancer.py b/facedancer/backends/hydradancer.py index 46c31504..a281abf1 100644 --- a/facedancer/backends/hydradancer.py +++ b/facedancer/backends/hydradancer.py @@ -672,13 +672,8 @@ def send(self, ep_num, data): Prime target endpoint ep_num. """ try: - start_time = time_ns() - MAX_TIME_NS = 1e-3 * 1e9 while not self.in_buffer_empty(ep_num): events = self.fetch_events() - if (time_ns() - start_time) > MAX_TIME_NS: - logging.debug("Stop waiting to unlock situation") - break logging.debug(f"Sending len {len(data)} {data} on ep {ep_num}") self.ep_out[self.endpoints_mapping[ep_num]].write( data)