Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfile (Linux): pyopenjtalkの辞書ダウンロード失敗時にリトライする #100

Merged
merged 2 commits into from
Sep 16, 2021

Conversation

aoirint
Copy link
Member

@aoirint aoirint commented Sep 16, 2021

Dockerイメージのビルド時、下のWorkflowで、
pyopenjtalkの辞書ダウンロードがtimeoutで落ちていたため、
失敗時にリトライするようにします。

https://github.com/Hiroshiba/voicevox_engine/runs/3614267811

5秒の間隔を空け、5回までトライします。

初回実行でも5秒待ってしまう問題があります。

@aoirint aoirint changed the title Dockerfile (Linux): pyopenjtalkの辞書ダウンロード失敗時にリトライするようにする Dockerfile (Linux): pyopenjtalkの辞書ダウンロード失敗時のリトライを追加 Sep 16, 2021
@aoirint aoirint changed the title Dockerfile (Linux): pyopenjtalkの辞書ダウンロード失敗時のリトライを追加 Dockerfile (Linux): pyopenjtalkの辞書ダウンロード失敗時にリトライする Sep 16, 2021
Copy link
Member

@Hiroshiba Hiroshiba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! paralellってretries引数があるんですね。便利そうです。

@Hiroshiba Hiroshiba merged commit b8c1c78 into VOICEVOX:master Sep 16, 2021
@aoirint aoirint deleted the patch-linux-docker-retry-dict-dl branch September 18, 2021 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants