diff options
Diffstat (limited to 'xmake/modules/private/cache/build_cache.lua')
| -rw-r--r-- | xmake/modules/private/cache/build_cache.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/private/cache/build_cache.lua b/xmake/modules/private/cache/build_cache.lua index 4f4b2c206..17020497d 100644 --- a/xmake/modules/private/cache/build_cache.lua +++ b/xmake/modules/private/cache/build_cache.lua @@ -130,6 +130,7 @@ function put(cachekey, objectfile) os.cp(objectfile, objectfile_cached) _g.newfiles_count = (_g.newfiles_count or 0) + 1 if remote_cache_client.is_connected() then + -- TODO we need optimize it, decrease query count local cacheinfo = remote_cache_client.singleton():cacheinfo(cachekey) if not cacheinfo or not cacheinfo.exists then _g.remote_newfiles_count = (_g.remote_newfiles_count or 0) + 1 |
