File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 116116.pnp. *
117117
118118# Compiled code
119+ coverage /
120+ docs /
119121lib /
120122
121123# Mac files
Original file line number Diff line number Diff line change @@ -228,6 +228,7 @@ export class SQLiteCloudConnection {
228228
229229 let buffer = Buffer . alloc ( 0 )
230230 const rowsetChunks : Buffer [ ] = [ ]
231+ const startedOn = new Date ( )
231232 this . log ( `Send: ${ commands } ` )
232233
233234 // define what to do if an answer does not arrive within the set timeout
@@ -266,7 +267,8 @@ export class SQLiteCloudConnection {
266267 if ( bufferString . length > 1000 ) {
267268 bufferString = bufferString . substring ( 0 , 100 ) + '...' + bufferString . substring ( bufferString . length - 40 )
268269 }
269- this . log ( `Receive: ${ bufferString } ` )
270+ const elapsedMs = new Date ( ) . getTime ( ) - startedOn . getTime ( )
271+ this . log ( `Receive: ${ bufferString } - ${ elapsedMs } ms` )
270272 }
271273
272274 // need to decompress this buffer before decoding?
You can’t perform that action at this time.
0 commit comments