Resolution: Won't Fix
The command used to modify the Service Level request timeout for N1QL queries is specified in the docs as follows:
This command is not valid and throws the error Incorrect value 30m for setting: timeout:
The correct syntax accepts a number in nanoseconds without any units and is as follows:
The above command sets the timeout to 30 nanoseconds.
We should change to docs to reflect this. We should also remove the statement mentioning that the fields are mandatory:
Its format includes an amount and a mandatory unit. Valid units are:
Ex: "10ms" (10 milliseconds) and "0.5s" (half a second).
Alternatively, we could change the Query Settings REST API code to accept the units as mentioned in the docs.