@@ -131,6 +131,7 @@ const generateFromArgs = (args) => {
131131 const obj = _ . merge ( {
132132 generator : schema ? new MockData ( schema ) : null ,
133133 batchSize,
134+ runcheckpoint : args . runcheckpoint ,
134135 checkpointFreq : args . checkpoint || process . env . CHECKPOINT_FREQUENCY || 5000 ,
135136 failFast,
136137 phase : 'NOT_STARTED' ,
@@ -158,6 +159,7 @@ module.exports = {
158159 . describe ( 'u' , 'username' )
159160 . describe ( 'p' , 'password' )
160161 . describe ( 'd' , 'database' )
162+ . describe ( 'runcheckpoint' , 'whether to run db checkpointing or not' )
161163 . describe ( 'schema' , 'batch schema file' )
162164 . describe ( 'batchsize' , 'number of records per batch, usable only with schema' )
163165 . describe ( 'n' , 'number of hits on the database' )
@@ -166,6 +168,7 @@ module.exports = {
166168 . describe ( 'query' , 'Cypher query to run' )
167169 . default ( 'concurrency' , 10 )
168170 . default ( 'checkpoint' , 5000 )
171+ . default ( 'runcheckpoint' , false )
169172 . demandOption ( [ 'p' ] )
170173 . argv ;
171174 } ,
0 commit comments