This commit is contained in:
@@ -34,9 +34,6 @@ If no override is specified AyaNova will use the following default value:
|
|||||||
|
|
||||||
This means AyaNova will wait for a prior report to complete for no longer than 5 minutes before it will stop and return an error.
|
This means AyaNova will wait for a prior report to complete for no longer than 5 minutes before it will stop and return an error.
|
||||||
|
|
||||||
## MINIMUM / MAXIMUM
|
|
||||||
|
|
||||||
There is a hard limit of 15 minutes built into AyaNova so specifying a value greater than 15 minutes will be ignored and 15 minutes used instead.
|
|
||||||
Specifying a value less than 1 minute will be automatically changed to 1 minute as the minimum allowed value.
|
Specifying a value less than 1 minute will be automatically changed to 1 minute as the minimum allowed value.
|
||||||
|
|
||||||
## Overriding
|
## Overriding
|
||||||
@@ -53,20 +50,20 @@ Example config.json entry
|
|||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
...other properties...
|
...other properties...
|
||||||
"AYANOVA_REPORT_RENDERING_TIMEOUT": "4"
|
"AYANOVA_REPORT_RENDERING_TIMEOUT": "10"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Example command line parameter
|
Example command line parameter
|
||||||
|
|
||||||
`ayanova.exe --AYANOVA_REPORT_RENDERING_TIMEOUT="5`
|
`ayanova.exe --AYANOVA_REPORT_RENDERING_TIMEOUT="10`
|
||||||
|
|
||||||
Example environment variable
|
Example environment variable
|
||||||
|
|
||||||
Windows
|
Windows
|
||||||
|
|
||||||
`set "AYANOVA_REPORT_RENDERING_TIMEOUT=4"`
|
`set "AYANOVA_REPORT_RENDERING_TIMEOUT=10"`
|
||||||
|
|
||||||
Linux / MAC
|
Linux / MAC
|
||||||
|
|
||||||
`export AYANOVA_REPORT_RENDERING_TIMEOUT="12"`
|
`export AYANOVA_REPORT_RENDERING_TIMEOUT="10"`
|
||||||
|
|||||||
@@ -183,7 +183,7 @@ namespace AyaNova.Util
|
|||||||
int? nTemp = config.GetValue<int?>("AYANOVA_REPORT_RENDERING_TIMEOUT");
|
int? nTemp = config.GetValue<int?>("AYANOVA_REPORT_RENDERING_TIMEOUT");
|
||||||
AYANOVA_REPORT_RENDERING_TIMEOUT = (null == nTemp) ? 5 : (int)nTemp;//default is 3 minutes
|
AYANOVA_REPORT_RENDERING_TIMEOUT = (null == nTemp) ? 5 : (int)nTemp;//default is 3 minutes
|
||||||
if (AYANOVA_REPORT_RENDERING_TIMEOUT < 1) AYANOVA_REPORT_RENDERING_TIMEOUT = 1; //one minute minimum timeout
|
if (AYANOVA_REPORT_RENDERING_TIMEOUT < 1) AYANOVA_REPORT_RENDERING_TIMEOUT = 1; //one minute minimum timeout
|
||||||
if (AYANOVA_REPORT_RENDERING_TIMEOUT > 15) AYANOVA_REPORT_RENDERING_TIMEOUT = 15; //15 minutes maximum timeout
|
|
||||||
|
|
||||||
|
|
||||||
//DB
|
//DB
|
||||||
|
|||||||
Reference in New Issue
Block a user