Skip to content

Commit

Permalink
fix: increase VCPKG_UPDATE_THRESHOLD to 1 hour
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Oct 16, 2023
1 parent ec511d4 commit 8156942
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 8156942

Please sign in to comment.