From 1f71405814b03efe3d2ed587a0af06cf30695c0e Mon Sep 17 00:00:00 2001 From: Denis Averin Date: Sun, 26 Nov 2023 14:52:46 +0700 Subject: [PATCH] Change Maximum timeout value --- docs/index.md | 4 ++-- docs/models.md | 2 +- src/models.ts | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/index.md b/docs/index.md index 7aa530c..3aa37e7 100644 --- a/docs/index.md +++ b/docs/index.md @@ -79,7 +79,7 @@ Name | Type | Description | Notes **rectWidth** | **number**| Set Width of area for recognition. | [optional] **rectHeight** | **number**| Set Height of area for recognition. | [optional] **stripFNC** | **boolean**| Value indicating whether FNC symbol strip must be done. | [optional] - **timeout** | **number**| Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 60_000 (1 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. | [optional] + **timeout** | **number**| Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 30_000 (1/2 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. | [optional] **medianSmoothingWindowSize** | **number**| Window size for median smoothing. Typical values are 3 or 4. Default value is 3. AllowMedianSmoothing must be set. | [optional] **allowMedianSmoothing** | **boolean**| Allows engine to enable median smoothing as additional scan. Mode helps to recognize noised barcodes. | [optional] **allowComplexBackground** | **boolean**| Allows engine to recognize color barcodes on color background as additional scan. Extremely slow mode. | [optional] @@ -135,7 +135,7 @@ Name | Type | Description | Notes **rectWidth** | **number**| Set Width of area for recognition. | [optional] **rectHeight** | **number**| Set Height of area for recognition. | [optional] **stripFNC** | **boolean**| Value indicating whether FNC symbol strip must be done. | [optional] - **timeout** | **number**| Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 60_000 (1 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. | [optional] + **timeout** | **number**| Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 30_000 (1/2 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. | [optional] **medianSmoothingWindowSize** | **number**| Window size for median smoothing. Typical values are 3 or 4. Default value is 3. AllowMedianSmoothing must be set. | [optional] **allowMedianSmoothing** | **boolean**| Allows engine to enable median smoothing as additional scan. Mode helps to recognize noised barcodes. | [optional] **allowComplexBackground** | **boolean**| Allows engine to recognize color barcodes on color background as additional scan. Extremely slow mode. | [optional] diff --git a/docs/models.md b/docs/models.md index 53fc669..a7ea809 100644 --- a/docs/models.md +++ b/docs/models.md @@ -2102,7 +2102,7 @@ interface ReaderParams { stripFNC?: boolean; /** - * Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 60_000 (1 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. + * Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 30_000 (1/2 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. */ timeout?: number; diff --git a/src/models.ts b/src/models.ts index db165b2..7404418 100644 --- a/src/models.ts +++ b/src/models.ts @@ -2872,7 +2872,7 @@ export class ReaderParams { */ 'stripFNC'?: boolean; /** - * Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 60_000 (1 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. + * Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 30_000 (1/2 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. */ 'timeout'?: number; /** @@ -3919,7 +3919,7 @@ Default value of Preset is NormalQuality. /** * Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). -Maximum value is 60_000 (1 minute). +Maximum value is 30_000 (1/2 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. */ @@ -4201,7 +4201,7 @@ Default value of Preset is NormalQuality. /** * Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). -Maximum value is 60_000 (1 minute). +Maximum value is 30_000 (1/2 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. */