Skip to content

Commit

Permalink
log lag and get more records
Browse files Browse the repository at this point in the history
  • Loading branch information
svebk committed Oct 8, 2019
1 parent 267967d commit 8f43cab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cufacesearch/cufacesearch/ingester/kinesis_ingester.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def get_msg_json(self):
print(msg.format(self.pp, len(records)))
if self.verbose > 4:
lag_ms = rec_response['MillisBehindLatest']
msg = "[{}: log] Lagging by {1:.3f}s"
msg = "[{}: log] Lagging by {.3f}s"
print(msg.format(self.pp, lag_ms/1000.0))
sleep_count = 0
for rec in records:
Expand Down

0 comments on commit 8f43cab

Please sign in to comment.