Commit 001fe2bb by Elvin Sindrilaru

MGM: Drop artificial sleep for TPC which is now fixed in XRootD 4.8.4

parent 2551a858
......@@ -118,9 +118,6 @@ DrainFs::DoIt()
while ((mJobsRunning.size() <= mMaxJobs.load()) &&
(it_job != mJobsPending.end())) {
// @todo (esindril) this is a hack for getting different TPC keys in
// xrootd. Should be fixed in XRootD code.
std::this_thread::sleep_for(milliseconds(200));
auto job = *it_job;
mThreadPool.PushTask<void>([job] {return job->DoIt();});
mJobsRunning.push_back(*it_job);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment