File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ export default class ReductionRunner {
115115 path . join ( this . datadir , lang . path ) ,
116116 graph . name ,
117117 `${ lang . _key } ` ,
118- "1000" ,
118+ process . env . GRAPHREDEX_COUNT ?? "1000" ,
119119 ] ,
120120 term ,
121121 ) . then ( ( { output, errors } ) => ( {
Original file line number Diff line number Diff line change @@ -137,6 +137,15 @@ GRAPHREDEX_DOCKER=1 ./run -c
137137_ Note_ : read [ RedexServer/README.md] ( RedexServer/README.md ) for security
138138guidelines.
139139
140+ ### Set reduction limit
141+
142+ You can set a limit on the number of reductions preformed by default by setting
143+ the environment variable ` GRAPHREDEX_COUNT ` (default: 1000).
144+
145+ ``` bash
146+ GRAPHREDEX_COUNT=100 ./run -c
147+ ```
148+
140149### Allow the use ` (require redex) `
141150
142151This allows you to use
You can’t perform that action at this time.
0 commit comments