How to define a customize timeout for digitizer worker?
Resolution
- Add environment CjkOcr__RetryPolicy__TimeoutSeconds_x into du-digitizer-worker-deployment with its value (example 180 seconds), with command: kubectl edit deploy -n uipath du-digitizer-worker-deployment
- name: CjkOcr__RetryPolicy__TimeoutSeconds_0
value: 180
- name: CjkOcr__RetryPolicy__TimeoutSeconds_1
value: 180
- name: CjkOcr__RetryPolicy__TimeoutSeconds_2
value: 180
Example:
- Edit configMap of du-digitizer-worker-deployment, to add parameter: CjkOcr__RetryPolicy__TimeoutSeconds_x with its value (example 180 seconds), command to execute: kubectl edit cm -n uipath du-digitizer-worker.
Example:
- Restart the du-digitizer-worker-deployment pod (command: kubectl rollout restart deploy -n uipath du-digitizer-worker-deployment) for the change to take effect.