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

taskにtimeoutを追加 #7

Open
yohm opened this issue Dec 6, 2017 · 0 comments
Open

taskにtimeoutを追加 #7

yohm opened this issue Dec 6, 2017 · 0 comments

Comments

@yohm
Copy link
Member

yohm commented Dec 6, 2017

schedulerが外部プロセスを呼び出す時に、timeoutまでの時間を計算してCARAVAN_TASK_TIMEOUTという環境変数に入れてからコマンドを実行する。

taskの実行コマンドの中で timeout ${CARAVAN_TASK_TIMEOUT} $CMD のような形で参照すればtimeout処理を実現できるようにする。

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

No branches or pull requests

1 participant