PrizmDoc® Viewer v14.0 Release - Updated
PrizmDoc OCR API / OCR API Developer Guide / How to Configure the Worker
In This Topic
    How to Configure the Worker
    In This Topic

    Introduction

    The OCR Reader Worker can be configured via environment variables. See the table below for available options.

    Available Environment Variables

    Environment variable Default value Note Is required ?
    ACCEPT_EULA - EULA must be accepted - set variable value to 'YES' Yes
    WORKFILE_SERVICE_URL http://localhost:18681/ PrizmDoc Server base URL No
    PROCESS_MANAGER_INTERNAL_URL http://localhost:3001/ Process Manager internal URL No
    PROCESS_TYPE_SUFFIX "" Process type suffix No
    PROCESS_RESERVATION_DURATION_MSEC 5000 Defines default reservation duration, ms No
    PROCESS_HEARTBEAT_INTERVAL_MSEC PROCESS_RESERVATION_DURATION_MSEC / 2.1 Heartbeat interval, ms No
    PROCESS_MAX_DURATION_MSEC 30000 Defines maximum process duration, ms No