示例#1
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
示例#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
示例#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))
示例#4
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))