def upload_speed_callback(self, speed):
     total_down, total_up = get_bandwidth_speed()
     self.log('Tribler upload speed: %f, total upload speed: %f, total down speed %f ' % (speed, total_up, total_down))
     if total_up < low_upload:
         self.addIdlePing()
     else:
         pass # Todo
Beispiel #2
0
 def upload_speed_callback(self, speed):
     total_down, total_up = get_bandwidth_speed()
     self.log(
         'Tribler upload speed: %f, total upload speed: %f, total down speed %f '
         % (speed, total_up, total_down))
     if total_up < low_upload:
         self.addIdlePing()
     else:
         pass  # Todo
Beispiel #3
0
 def upload_speed_callback(self, speed):
     total_down, total_up = get_bandwidth_speed()
     self.log(
         'Tribler upload speed: %f, total upload speed: %f, total down speed %f '
         % (speed, total_up, total_down))
 def upload_speed_callback(self, speed):
     total_down, total_up = get_bandwidth_speed()
     self.log('Tribler upload speed: %f, total upload speed: %f, total down speed %f ' % (speed, total_up, total_down))