Add log message on busy handle read in QueryServer so we can track how often this happens
This commit is contained in:
1 parent
f2e8348435
commit
b5263e18c4
1 file changed
+1
@@ -255,6 +255,7 @@ struct QueryServerImpl : public IQueryServer {
|
||||
}
|
||||
}
|
||||
else if (result == HandleReadResult::BUSY) {
|
||||
LOG(MarketData,Info, "Busy read on handle {}. Retry on next request", instrument.handle.key());
|
||||
// If we get a busy reading BBO (which happens 1-2x per day for a single relay client)
|
||||
// We move the timestamp back so the next request will try to read this value again.
|
||||
// ALTERNATIVE: We could spin until the value was not busy but it could be that the writer
|
||||
|
||||
Reference in new issue
Block a user