Unverified Commit eca53241 authored by kladko's avatar kladko

enhancement/SKALE-3636-SGX-Server-anti-dos

parent 4b956280
......@@ -245,7 +245,7 @@ void SGXWalletServer::checkForDuplicate(map <string, string> &_map, recursive_mu
LOCK(_m);
if (_map.count(_key) && _map.at(_key) == _value) {
usleep(100);
usleep(100 * 1000);
spdlog::warn(string("Received an identical request from the client:") + __FUNCTION__);
}
_map[_key] = _value;
......
Markdown is supported
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