diff options
| author | Stefan Boberg <[email protected]> | 2025-03-11 09:58:07 +0100 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2025-03-11 09:58:07 +0100 |
| commit | 90db3ced033d4e06da2739e5d97cdeff2b0ba3b9 (patch) | |
| tree | 8c1375cc1217886ef51f8fd0c3460b274b82527c /src/zenutil/include | |
| parent | pick up existing cache (#299) (diff) | |
| download | zen-90db3ced033d4e06da2739e5d97cdeff2b0ba3b9.tar.xz zen-90db3ced033d4e06da2739e5d97cdeff2b0ba3b9.zip | |
Build command tweaks (#301)
- Improvement: Don't chunk up .mp4 files as they generally won't benefit from deduplication or partial in-place-updates
- Improvement: Emit build name to console output when downloading a build
- Improvement: Added some debug logging
- Bugfix: Logging setup would previously not function correctly when not logging to file
Diffstat (limited to 'src/zenutil/include')
| -rw-r--r-- | src/zenutil/include/zenutil/chunkingcontroller.h | 2 | ||||
| -rw-r--r-- | src/zenutil/include/zenutil/logging.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/zenutil/include/zenutil/chunkingcontroller.h b/src/zenutil/include/zenutil/chunkingcontroller.h index ebc80e207..246f4498a 100644 --- a/src/zenutil/include/zenutil/chunkingcontroller.h +++ b/src/zenutil/include/zenutil/chunkingcontroller.h @@ -11,7 +11,7 @@ namespace zen { -const std::vector<std::string_view> DefaultChunkingExcludeExtensions = {".exe", ".dll", ".pdb", ".self"}; +const std::vector<std::string_view> DefaultChunkingExcludeExtensions = {".exe", ".dll", ".pdb", ".self", ".mp4"}; const ChunkedParams DefaultChunkedParams = {.MinSize = ((8u * 1u) * 1024u) - 128u, .MaxSize = 128u * 1024u, diff --git a/src/zenutil/include/zenutil/logging.h b/src/zenutil/include/zenutil/logging.h index ebf6372fc..d64eef207 100644 --- a/src/zenutil/include/zenutil/logging.h +++ b/src/zenutil/include/zenutil/logging.h @@ -32,6 +32,7 @@ struct LoggingOptions bool IsDebug = false; bool IsVerbose = false; bool IsTest = false; + bool AllowAsync = true; bool NoConsoleOutput = false; std::filesystem::path AbsLogFile; // Absolute path to main log file std::string LogId; |