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

fix: increase VCPKG_UPDATE_THRESHOLD to 1 hour #242

Merged
merged 1 commit into from
Oct 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Vcpkg.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ endmacro()

macro(_is_vcpkg_outdated)
if("${_vcpkg_args_VCPKG_UPDATE_THRESHOLD}" STREQUAL "")
set(_vcpkg_args_VCPKG_UPDATE_THRESHOLD 300)
set(_vcpkg_args_VCPKG_UPDATE_THRESHOLD 3600)
endif()

if(${_vcpkg_args_ENABLE_VCPKG_UPDATE})
Expand Down Expand Up @@ -191,7 +191,7 @@ Named String:
pulled, enable ``ENABLE_VCPKG_UPDATE``


- ``VCPKG_UPDATE_THRESHOLD``: (Defaults to 300 seconds). This option
- ``VCPKG_UPDATE_THRESHOLD``: (Defaults to 3600 seconds). This option
allows setting the time threshold in seconds for updating the vcpkg
registry. If ``ENABLE_VCPKG_UPDATE`` is enabled, the vcpkg registry
will be updated if the last update was more than
Expand Down
Loading