-
Notifications
You must be signed in to change notification settings - Fork 5
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
Fix curl error #7
base: master
Are you sure you want to change the base?
Changes from 1 commit
7ad27f3
75086e4
392ff94
c8a2043
f4f3269
2d9f74c
c6ff4f6
69cf7c0
2bdb859
063c418
2249c64
e8ad6eb
948ecc4
38d7238
f193110
2cb8dfb
4d3de18
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -229,13 +229,14 @@ module Aws : Provider_template.Provider = struct | |
process_response resp | ||
in | ||
let%lwt _resp, body = | ||
match%lwt repeat_until_ok send_command 10 with | ||
match%lwt repeat_until_ok send_command 60 with | ||
| Ok (r, b) -> | ||
Lwt.return (r, b) | ||
| Error _ -> | ||
failwith | ||
| Error (`Msg message, note) -> | ||
Lwt.fail_with (Fmt.str | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we leave this as There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fair question. In theory using the Lwt ppx should give decent backtraces. But that's not happening here so something is missing somewhere. |
||
"Can't talk to an agent, this probably means the agent failed to \ | ||
install." | ||
install. Error: %s - %s" | ||
message note) | ||
in | ||
(*TODO cohttp_retry*) | ||
let poll_agent () = | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is good!