Throttle smtp_consumer() thread
This commit is contained in:
parent
68f52fd632
commit
c2167e18a6
1 changed files with 3 additions and 0 deletions
|
@ -18,6 +18,7 @@
|
|||
|
||||
#include <array>
|
||||
#include <atomic>
|
||||
#include <chrono>
|
||||
#include <cstdint>
|
||||
#include <ctime>
|
||||
#include <fstream>
|
||||
|
@ -162,6 +163,8 @@ namespace pvpgn
|
|||
|
||||
curl_multi_handle_mutex.unlock();
|
||||
}
|
||||
|
||||
std::this_thread::sleep_for(std::chrono::seconds(3));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue