mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-24 21:44:17 +00:00
remove test code
This commit is contained in:
parent
1d78f7ec27
commit
a7f7b45976
@ -450,17 +450,6 @@ void startSessionTorrent(boost::thread_group& threadGroup)
|
||||
m_noExpireResources["status"] = SimpleNoExpire;
|
||||
m_noExpireResources["post"] = PostNoExpireRecent;
|
||||
|
||||
|
||||
shouldDhtResourceExpire("post", false, 0);
|
||||
shouldDhtResourceExpire("post0", false, 0);
|
||||
shouldDhtResourceExpire("post01", false, 0);
|
||||
shouldDhtResourceExpire("post1 ", false, 0);
|
||||
shouldDhtResourceExpire("post1233", false, 0);
|
||||
shouldDhtResourceExpire("avatar", false, 0);
|
||||
shouldDhtResourceExpire("following", false, 0);
|
||||
shouldDhtResourceExpire("following300", false, 0);
|
||||
|
||||
|
||||
threadGroup.create_thread(boost::bind(&ThreadWaitExtIP));
|
||||
threadGroup.create_thread(boost::bind(&ThreadMaintainDHTNodes));
|
||||
threadGroup.create_thread(boost::bind(&ThreadSessionAlerts));
|
||||
@ -922,7 +911,6 @@ bool shouldDhtResourceExpire(std::string resource, bool multi, int height)
|
||||
}
|
||||
if(i == resource.size()) {
|
||||
resourceNumber = atoi( resource.c_str() + resourceBasic.length() );
|
||||
printf("shouldDhtResourceExpire: %s = %s + %d\n", resource.c_str(), resourceBasic.c_str(), resourceNumber);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user