You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Comma separated list of Dgraph zero addresses of the form IP_ADDRESS:PORT.")
133
133
flag.Uint64("idx", 0,
134
134
"Optional Raft ID that this Dgraph Alpha will use to join RAFT groups.")
135
-
flag.Int("max_retries", -1,
135
+
flag.Int("max-retries", -1,
136
136
"Commits to disk will give up after these number of retries to prevent locking the worker"+
137
137
" in a failed state. Use -1 to retry infinitely.")
138
-
flag.String("auth_token", "",
138
+
flag.String("auth-token", "",
139
139
"If set, all Admin requests to Dgraph would need to have this token."+
140
140
" The token can be passed as follows: For HTTP requests, in X-Dgraph-AuthToken header."+
141
141
" For Grpc, in auth-token key in the context.")
142
142
143
-
flag.String("acl_secret_file", "", "The file that stores the HMAC secret, "+
143
+
flag.String("acl-secret-file", "", "The file that stores the HMAC secret, "+
144
144
"which is used for signing the JWT and should have at least 32 ASCII characters. "+
145
145
"Enterprise feature.")
146
-
flag.Duration("acl_access_ttl", 6*time.Hour, "The TTL for the access jwt. "+
146
+
flag.Duration("acl-access-ttl", 6*time.Hour, "The TTL for the access jwt. "+
147
147
"Enterprise feature.")
148
-
flag.Duration("acl_refresh_ttl", 30*24*time.Hour, "The TTL for the refresh jwt. "+
148
+
flag.Duration("acl-refresh-ttl", 30*24*time.Hour, "The TTL for the refresh jwt. "+
149
149
"Enterprise feature.")
150
150
flag.String("mutations", "allow",
151
151
"Set mutation mode to allow, disallow, or strict.")
152
152
153
153
// Useful for running multiple servers on the same machine.
154
-
flag.IntP("port_offset", "o", 0,
154
+
flag.IntP("port-offset", "o", 0,
155
155
"Value added to all listening port numbers. [Internal=7080, HTTP=8080, Grpc=9080]")
156
156
157
-
flag.Uint64("query_edge_limit", 1e6,
157
+
flag.Uint64("query-edge-limit", 1e6,
158
158
"Limit for the maximum number of edges that can be returned in a query."+
159
159
" This applies to shortest path and recursive queries.")
160
-
flag.Uint64("normalize_node_limit", 1e4,
160
+
flag.Uint64("normalize-node-limit", 1e4,
161
161
"Limit for the maximum number of nodes that can be returned in a query that uses the "+
162
162
"normalize directive.")
163
-
flag.Uint64("mutations_nquad_limit", 1e6,
163
+
flag.Uint64("mutations-nquad-limit", 1e6,
164
164
"Limit for the maximum number of nquads that can be inserted in a mutation request")
165
165
166
166
//Custom plugins.
167
-
flag.String("custom_tokenizers", "",
167
+
flag.String("custom-tokenizers", "",
168
168
"Comma separated list of tokenizer plugins")
169
169
170
170
// By default Go GRPC traces all requests.
171
171
grpc.EnableTracing=false
172
172
173
-
flag.Bool("graphql_introspection", true, "Set to false for no GraphQL schema introspection")
174
-
flag.Bool("graphql_debug", false, "Enable debug mode in GraphQL. This returns auth errors to clients. We do not recommend turning it on for production.")
173
+
flag.Bool("graphql-introspection", true, "Set to false for no GraphQL schema introspection")
174
+
flag.Bool("graphql-debug", false, "Enable debug mode in GraphQL. This returns auth errors to clients. We do not recommend turning it on for production.")
175
175
176
176
// Ludicrous mode
177
-
flag.Bool("ludicrous_mode", false, "Run Dgraph in ludicrous mode.")
178
-
flag.Int("ludicrous_concurrency", 2000, "Number of concurrent threads in ludicrous mode")
177
+
flag.Bool("ludicrous-mode", false, "Run Dgraph in ludicrous mode.")
178
+
flag.Int("ludicrous-concurrency", 2000, "Number of concurrent threads in ludicrous mode")
179
179
180
-
flag.Bool("graphql_extensions", true, "Set to false if extensions not required in GraphQL response body")
181
-
flag.Duration("graphql_poll_interval", time.Second, "polling interval for graphql subscription.")
182
-
flag.String("graphql_lambda_url", "",
180
+
flag.Bool("graphql-extensions", true, "Set to false if extensions not required in GraphQL response body")
181
+
flag.Duration("graphql-poll-interval", time.Second, "polling interval for graphql subscription.")
182
+
flag.String("graphql-lambda-url", "",
183
183
"URL of lambda server that implements custom GraphQL JavaScript resolvers")
184
184
185
185
// Cache flags
186
-
flag.String("cache_percentage", "0,65,35,0",
186
+
flag.String("cache-percentage", "0,65,35,0",
187
187
`Cache percentages summing up to 100 for various caches (FORMAT:
0 commit comments