Throttle smtp_consumer() thread

This commit is contained in:
RElesgoe 2020-08-28 22:51:43 -07:00 committed by GitHub
parent 68f52fd632
commit c2167e18a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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));
}
}