File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -174,10 +174,10 @@ let config: Config = {
174174 dataLogWrite : true ,
175175 dataLogWriter : {
176176 dirName : 'data-logs' ,
177- maxLogFiles : 10 ,
178- maxReceiptBytes : 1024 * 1024 , // 1MB - Should be >= max TPS * avg receipt size
179- maxCycleBytes : 50 * 1024 , // 50KB - cycles are smaller
180- maxOriginalTxBytes : 1024 * 1024 , // 1MB - Should be >= max TPS * avg tx size
177+ maxLogFiles : 20 ,
178+ maxReceiptBytes : 10 * 1024 * 1024 , // 1MB - Should be >= max TPS * avg receipt size
179+ maxCycleBytes : 10 * 1024 * 1024 , // 50KB - cycles are smaller
180+ maxOriginalTxBytes : 10 * 1024 * 1024 , // 1MB - Should be >= max TPS * avg tx size
181181 } ,
182182 experimentalSnapshot : true ,
183183 failedBucketsDir : 'failed-buckets' ,
Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ class DataLogWriter {
195195
196196 appendData ( data : string ) : Promise < void > {
197197 // Check if we should continue writing
198- const canContinueToWrite = this . dataLogWriteStream ! . write ( data )
198+ const canContinueToWrite = this . dataLogWriteStream ! . write ( data + '\n' )
199199
200200 if ( ! canContinueToWrite ) {
201201 // Wait for drain event to continue writing
You can’t perform that action at this time.
0 commit comments