Commit 6a688b39 authored by Sebastien Ponce's avatar Sebastien Ponce
Browse files

Fixed tight loop on errors when filesystems of the gcd are badly configured....

Fixed tight loop on errors when filesystems of the gcd are badly configured. This could go up to 10KHz !
parent 62b30f6f
......@@ -112,6 +112,7 @@ void castor::gc::SynchronizationThread::run(void*) {
{castor::dlf::Param("FileSystem", fs[fsIt]),
castor::dlf::Param("Error", strerror(errno))};
castor::dlf::dlf_writep(nullCuuid, DLF_LVL_ERROR, 24, 2, params);
sleep(chunkInterval);
continue;
}
struct dirent *dir;
......
Supports Markdown
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