Skip to content

Commit 4253175

Browse files
committed
Cleanup
1 parent 81158c2 commit 4253175

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

RNS/Resource.py

-14
Original file line numberDiff line numberDiff line change
@@ -404,15 +404,6 @@ def __watchdog_job(self):
404404

405405
sleep_time = self.last_activity + (rtt*(self.part_timeout_factor+window_remaining)) + Resource.RETRY_GRACE_TIME - time.time()
406406

407-
# TODO: Remove debug info
408-
# RNS.log("rtt "+str(rtt))
409-
# RNS.log("ptof "+str(self.part_timeout_factor))
410-
# RNS.log("wait "+str((rtt*self.part_timeout_factor) + Resource.RETRY_GRACE_TIME))
411-
# RNS.log("sleep "+str(sleep_time))
412-
# RNS.log("wndw "+str(self.window))
413-
# RNS.log("wndwr "+str(window_remaining))
414-
# RNS.log("")
415-
416407
if sleep_time < 0:
417408
if self.retries_left > 0:
418409
RNS.log("Timed out waiting for parts, requesting retry", RNS.LOG_DEBUG)
@@ -606,11 +597,6 @@ def receive_part(self, packet):
606597
except Exception as e:
607598
RNS.log("Error while executing progress callback from "+str(self)+". The contained exception was: "+str(e), RNS.LOG_ERROR)
608599

609-
# TODO: Remove debug info
610-
# RNS.log("outstanding_parts "+str(self.outstanding_parts))
611-
# RNS.log("total_parts "+str(self.total_parts))
612-
# RNS.log("received_count "+str(self.received_count))
613-
614600
i += 1
615601

616602
self.receiving_part = False

0 commit comments

Comments
 (0)