The code.ill.fr has been recreated and upgraded with the latest version this weekend, If you encounter any problem please inform the Helpdesk.

Commit ee5177b7 authored by Shervin Nourbakhsh's avatar Shervin Nourbakhsh
Browse files

define default timeout as constexpr

parent a687b5a9
......@@ -31,7 +31,8 @@
using namespace std;
namespace cameo {
constexpr int defaultTimeout = 10000;
void Server::initServer(const Endpoint& endpoint, int timeoutMs) {
Services::init();
......@@ -117,7 +118,7 @@ int Server::getAvailableTimeout() const {
return timeout;
}
else {
return 10000;
return defaultTimeout;
}
}
......
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