File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ public class DhtNodeServer : DaemonApp
171171 // / This is a de facto record size limit, as any records that exceed the
172172 // / configured batch size cannot be returned to clients via batch
173173 // / requests.
174- size_t batch_size = RecordBatcher.DefaultMaxBatchSize;
174+ ConfigReader.Min ! ( size_t , 1024 , RecordBatcher.DefaultMaxBatchSize) batch_size ;
175175
176176 /* **********************************************************************
177177
@@ -511,7 +511,7 @@ public class DhtNodeServer : DaemonApp
511511 this .storage_channels = new StorageChannels(this .server_config.data_dir,
512512 this .memory_config.size_limit, this .hash_range,
513513 this .memory_config.bnum, this .memory_config.out_of_range_handling,
514- this .memory_config.disable_direct_io, this .memory_config.batch_size);
514+ this .memory_config.disable_direct_io, this .memory_config.batch_size() );
515515
516516 return this .storage_channels;
517517 }
You can’t perform that action at this time.
0 commit comments