reapack

Package manager for REAPER
Log | Files | Refs | Submodules | README | LICENSE

commit 057d2733d72b4e70418282268e590f2ecb89e1e2
parent 5ee237ebf8b37c54479585261b8e558d2df202d4
Author: cfillion <cfillion@users.noreply.github.com>
Date:   Fri, 12 Aug 2016 20:36:03 -0400

index: always re-download indexes when requested

Diffstat:
Msrc/index.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/index.cpp b/src/index.cpp @@ -88,7 +88,7 @@ Download *Index::fetch(const Remote &remote, time_t mtime = 0, now = time(nullptr); if(FS::mtime(pathFor(remote.name()), &mtime)) { - const time_t threshold = stale ? 2 : (7 * 24 * 3600); + const time_t threshold = stale ? 0 : (7 * 24 * 3600); if(mtime > now - threshold) return nullptr;