ESPRI-Mod / synda

ESGF Downloader (this is a deprecated repository, the tool has now moved to https://github.com/ESGF/esgf-download)
https://espri-mod.github.io/synda/
21 stars 11 forks source link

sleep in thread, not before thread #166

Open painter1 opened 3 years ago

painter1 commented 3 years ago

There was a one-second "sleep" before every call (but the first) of start_transfer_thread(). I moved the "sleep" into the thread itself. The data node doesn't see the difference, but this can have a very noticeable effect on performance if there are active transfers from many data nodes in parallel.