Skip to content

Commit 0aed4d0

Browse files
author
Kibae Shin
authored
Update test-walstream.js
1 parent fd67ef1 commit 0aed4d0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test-walstream.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ function proc() {
2020

2121
walStream.on('data', function(msg) {
2222
lastLsn = msg.lsn || lastLsn;
23+
24+
//DO SOMETHING. eg) replicate to other dbms(pgsql, mysql, ...)
2325
console.log('log recv', msg);
2426
}).on('error', function(err) {
2527
console.log('Error #2', err);

0 commit comments

Comments
 (0)