Skip to content

Commit 91e7856

Browse files
author
Sergey Khoroshavin
committed
Minor fixes in monitor
Signed-off-by: Sergey Khoroshavin <[email protected]>
1 parent 25f5ef4 commit 91e7856

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plenum/server/monitor.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ def __init__(self, name: str, Delta: float, Lambda: float, Omega: float,
130130
self.numOrderedRequests = [] # type: List[Tuple[int, int]]
131131

132132
# Utility object for tracking requests order start and end
133+
# TODO: Has very similar cleanup logic to propagator.Requests
133134
self.requestTracker = RequestTimeTracker(instances.count)
134135

135136
# Request latencies for the master protocol instances. Key of the
@@ -289,8 +290,7 @@ def requestOrdered(self, reqIdrs: List[Tuple[str, int]], instId: int,
289290
for identifier, reqId in reqIdrs:
290291
if (identifier, reqId) not in self.requestTracker:
291292
logger.debug(
292-
"Got ordered request with identifier {} and reqId {} "
293-
"but it was from a previous view".
293+
"Got untracked request with identifier {} and reqId {}".
294294
format(identifier, reqId))
295295
continue
296296
duration = self.requestTracker.order(instId, identifier, reqId, now)

0 commit comments

Comments
 (0)