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

ra/SAPHanaRA* - HANA_CALL inner (cmd) / outer (pre_cmd) timeouts are equal #132

Open
PeterPitterling opened this issue Oct 21, 2022 · 0 comments

Comments

@PeterPitterling
Copy link
Contributor

2cc0fba introduced an inner timeout call for the command to be executed
The timeout values for "pre_cmd" and "cmd" calls are the same from this commit on. The outer timeout will always "win" ...

SAPHanaSR/ra/SAPHana

Lines 680 to 682 in 45cc6ec

output=$(timeout --foreground -s 9 "$timeOut" $pre_cmd "($pre_script; timeout -s 9 $timeOut $cmd > $cmd_out_log) >& $cmd_err_log" 2>"$su_err_log"); rc=$?

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