If you are using the Deployment Template, you specify Dgraph
arguments in the
AppConfig.xml
file under the
<dgraph-defaults>
element.
To specify arguments to the Dgraph:
Add arguments in the
<args>
element of<dgraph-defaults>
in theAppConfig.xml
file, similar to the following example:<dgraph-defaults> <properties> ... </properties> <directories> ... </directories> <args> <arg>--threads</arg> <arg>2</arg> <arg>--spl</arg> <arg>--dym</arg> </args> <startup-timeout>120</startup-timeout> </dgraph-defaults>
Note
Arguments that take a value, such as
--threads
, should be separated into two consecutive<arg>
elements.