update offset debugging info

This commit is contained in:
ansuz 2020-12-08 10:24:09 +05:30
parent 466881b9e3
commit 93c807524f
1 changed files with 4 additions and 2 deletions

View File

@ -230,8 +230,10 @@ const computeIndexFromOffset = function (channelName, offset, cb) {
var diff = new_start - start;
Env.Log.info('WORKER_OFFSET_UPDATE', {
channel: channelName,
old_start: start,
new_start: new_start,
start: start,
startMB: start / 1024 / 1024,
update: new_start,
updateMB: new_start / 1024 / 1024,
diff: diff,
diffMB: diff / 1024 / 1024,
});