From 93c807524f6de924d31bff1fafb9599ff2591448 Mon Sep 17 00:00:00 2001 From: ansuz Date: Tue, 8 Dec 2020 10:24:09 +0530 Subject: [PATCH] update offset debugging info --- lib/workers/db-worker.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/workers/db-worker.js b/lib/workers/db-worker.js index d871bcb97..7f45dfaa2 100644 --- a/lib/workers/db-worker.js +++ b/lib/workers/db-worker.js @@ -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, });