Skip to content

Commit 30a54cf

Browse files
[skip ci]
1 parent b01b477 commit 30a54cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reconsiler-audit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ async function setupPgClient() {
2525
rec_d_type = config.RECONSILER.RECONSILER_DURATION_TYPE
2626
var paramvalues = ['push-to-kafka',rec_d_start,rec_d_end];
2727
sql1 = "select pgifx_sync_audit.seq_id, pgifx_sync_audit.payloadseqid,pgifx_sync_audit.auditdatetime ,pgifx_sync_audit.syncstatus, pgifx_sync_audit.payload from common_oltp.pgifx_sync_audit where pgifx_sync_audit.syncstatus =($1)"
28-
sql2 = " and pgifx_sync_audit.tablename not in ('sync_test_id') and pgifx_sync_audit.syncstatus not in ('Informix-updated') and pgifx_sync_audit.producer_err <> 'Reconsiler1' and pgifx_sync_audit.auditdatetime between (timezone('utc',now())) - interval '1"+ rec_d_type + "' * ($2)"
28+
sql2 = " and pgifx_sync_audit.tablename not in ('sync_test_id') and pgifx_sync_audit.syncstatus not in ('Informix-updated') and pgifx_sync_audit.auditdatetime between (timezone('utc',now())) - interval '1"+ rec_d_type + "' * ($2)"
2929
sql3 = " and (timezone('utc',now())) - interval '1"+ rec_d_type + "' * ($3)"
3030
sql = sql1 + sql2 + sql3
3131
logger.info(`${sql}`)

0 commit comments

Comments
 (0)