moved file ignore test to a more appropriate place

This commit is contained in:
csoler 2017-09-11 19:02:07 +02:00
parent eff5c5d6ee
commit 0ca0b72a5a
2 changed files with 29 additions and 23 deletions

View file

@ -157,7 +157,7 @@ void HashStorage::data_tick()
paused = mHashingProcessPaused ;
}
if(paused)
if(paused) // we need to wait off mutex!!
{
usleep(MAX_INACTIVITY_SLEEP_TIME) ;
std::cerr << "Hashing process currently paused." << std::endl;