-
Notifications
You must be signed in to change notification settings - Fork 9
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
Customizable timeout for pkg_search
/advanced_search
#124
Comments
I don't anticipate it to go offline again, now that it has found a good home. Nevertheless, it is already possible to change the timeout with the |
Great news! How can I change the timeout? I've tried with the
|
It is a global option:
See |
It does not work for me.
|
Ohh, you are right, I mixed it up with I think we can respect |
@gaborcsardi - I've updated the PR accordingly: https://github.com/r-hub/pkgsearch/pull/125/files. |
Overview
HI @gaborcsardi. Thanks for creating such a great package. I have a suggestion for a small improvement.
The
R_PKG_SEARCH_SERVER
can occasionally be unavailable link.The
curl::curl_fetch_memory
has a long timeout set by default (10[s]).Fortunately, the timeout setting can be easily changed
Proposed solution
Add the possibility to change the timeout for the curl's connect phase. With such a change, if
R_PKG_SEARCH_SERVER
becomes unavailable, one can spot the error faster than within 10[s].The text was updated successfully, but these errors were encountered: