Encounter nquad count limitation

What I want to do

When I try to use dgraph-js to commit a large dataset, I got a error message that is 2 UNKNOWN: NQuad count in the request: 1000001, is more that threshold: 1000000

What I did

  1. one dgraph zero node and one dgraph alpha node in the same machine;
  2. add new command line argument --limit "mutations-nquad=2000000" to restart dgraph alpha node;

The error still exists (2 UNKNOWN: NQuad count in the request: 1000001, is more that threshold: 1000000). It seems that limitation is 1000000 not 2000000.

I’m pretty sure I made a mistake in somewhere. Is there someone could tell me what i should do to resolve this problem?

Dgraph metadata

dgraph version v21.12.0