mirror of
https://github.com/microsoft/mscclpp.git
synced 2026-05-12 09:17:06 +00:00
Merge branch 'api-extension' of https://github.com/microsoft/mscclpp into api-extension
This commit is contained in:
@@ -137,7 +137,7 @@ void IBConnection::flush()
|
||||
|
||||
auto elapsed = timer.elapsed();
|
||||
if (elapsed > MSCCLPP_POLLING_WAIT) {
|
||||
throw Error("pollCq is stuck: waited for " + std::to_string(elapsed) + " seconds. Expected " +
|
||||
throw Error("pollCq is stuck: waited for " + std::to_string(elapsed/1e6) + " seconds. Expected " +
|
||||
std::to_string(numSignaledSends) + " signals",
|
||||
ErrorCode::InternalError);
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#define MSCCLPP_CONNECTION_HPP_
|
||||
|
||||
// TODO(saemal): make this configurable
|
||||
#define MSCCLPP_POLLING_WAIT 10000 // in microseconds
|
||||
#define MSCCLPP_POLLING_WAIT 3e7 // in microseconds
|
||||
|
||||
#include "communicator.hpp"
|
||||
#include "ib.hpp"
|
||||
|
||||
Reference in New Issue
Block a user