Log read sync and view sync timestamps

This commit is contained in:
Evan Hahn 2022-01-06 16:14:16 -06:00 committed by GitHub
parent 5eee11e89c
commit 577d9a41cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -91,6 +91,11 @@ export async function runReadOrViewSyncJob({
return;
}
const syncTimestamps = syncs.map(sync => sync.timestamp);
log.info(
`sending ${sendType}(s) for timestamp(s) ${syncTimestamps.join(', ')}`
);
const timeRemaining = timestamp + maxRetryTime - Date.now();
const shouldContinue = await commonShouldJobContinue({