Skip to content

Commit

Permalink
Merge pull request #103 from NielsZeilemaker/devel
Browse files Browse the repository at this point in the history
Devel
  • Loading branch information
NielsZeilemaker committed Apr 19, 2013
2 parents cb75a6a + 4843bdb commit 01d5bca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions Tribler/Core/Libtorrent/LibtorrentMgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@ def __init__(self, trsession, utility):
self.set_download_rate_limit(-1)
self.ltsession.start_upnp()

# Load metadata extension
self.ltsession.add_extension(lt.create_metadata_plugin)
self.ltsession.add_extension(lt.create_ut_metadata_plugin)
self.ltsession.add_extension(lt.create_smart_ban_plugin)

# Start DHT
try:
dht_state = open(os.path.join(self.trsession.get_state_dir(), DHTSTATE_FILENAME)).read()
Expand Down
2 changes: 1 addition & 1 deletion Tribler/Test/test_libtorrent_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def do_vod():
def startTest(self, callback):
def wait_for_libtorrent():
ltmgr = LibtorrentMgr.getInstance()
self.CallConditional(120, lambda: ltmgr.get_dht_nodes() > 100, callback)
self.CallConditional(120, lambda: ltmgr.get_dht_nodes() > 25, callback)

TestGuiAsServer.startTest(self, wait_for_libtorrent)

Expand Down

0 comments on commit 01d5bca

Please sign in to comment.