mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-05-22 16:26:24 -04:00
Cleanup
This commit is contained in:
parent
ea7762cbc0
commit
1ac7238347
3 changed files with 18 additions and 15 deletions
|
@ -525,7 +525,7 @@ class I2PInterfacePeer(Interface):
|
|||
def processOutgoing(self, data):
|
||||
if self.online:
|
||||
while self.writing:
|
||||
time.sleep(0.01)
|
||||
time.sleep(0.001)
|
||||
|
||||
try:
|
||||
self.writing = True
|
||||
|
@ -538,6 +538,7 @@ class I2PInterfacePeer(Interface):
|
|||
self.socket.sendall(data)
|
||||
self.writing = False
|
||||
self.txb += len(data)
|
||||
|
||||
if hasattr(self, "parent_interface") and self.parent_interface != None and self.parent_count:
|
||||
self.parent_interface.txb += len(data)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue