Skip to content

Timeout Issues Libretranslate-Docker #9

Description

@Rezo996

Hey there !

Me and my team have issues with the script producing quite a few timouts with the rubyscript running in NUIX 9.10, which accesses a Libretranslate (v. 1.4.0.) Docker container for translations.
The issue we're facing is that although you can set a timeout when executing the LanguageTranslationIntegration script in NUIX, this timeout is not being passed on to the Docker container.
For example, we set the timeout ( 120s ) and start translating, the first items were tagged "success" bc there is no processed text in Nuix. The next one, big Excelsheet, runs into timeout and should be skipped for beeing too large for the short timeout. But as a result, when the timeout expires, the script execution continues in NUIX, starting the next item, while the Libretranslate container continues to process the first translation request, causing the queue to grow. Eventually, the queue grows to about 94 elements, and then it stops accepting new jobs. How can I effectively pass the timeout to the Docker container?

The bulk of items are nearly 800 items, including some excels with over 1 million lines, about 2 MB - 10 MB big.

Anyone facing issues like us and may help?

Thanks !

Greetings, Rezo

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions