another compiler fix, reduced the size of the endpointNotFound map
This commit is contained in:
parent
9d6d916cef
commit
5f979c0178
|
@ -113,7 +113,7 @@ void SimpleFailureMonitor::endpointNotFound(Endpoint const& endpoint) {
|
|||
.detail("Address", endpoint.getPrimaryAddress())
|
||||
.detail("Token", endpoint.token);
|
||||
failedEndpoints.insert(endpoint);
|
||||
endpointKnownFailed.set(endpoint, true);
|
||||
endpointKnownFailed.trigger(endpoint);
|
||||
}
|
||||
|
||||
void SimpleFailureMonitor::notifyDisconnect(NetworkAddress const& address) {
|
||||
|
|
|
@ -85,17 +85,6 @@ void ISimulator::displayWorkers() const
|
|||
return;
|
||||
}
|
||||
|
||||
namespace std {
|
||||
template<>
|
||||
class hash<Endpoint> {
|
||||
public:
|
||||
size_t operator()(const Endpoint &s) const
|
||||
{
|
||||
return crc32c_append(0, (const uint8_t*)&s, sizeof(s));
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
const UID TOKEN_ENDPOINT_NOT_FOUND(-1, -1);
|
||||
|
||||
ISimulator* g_pSimulator = 0;
|
||||
|
|
Loading…
Reference in New Issue