aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/upstream/jupiter.h
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2024-01-31 10:31:00 +0100
committerGitHub <[email protected]>2024-01-31 10:31:00 +0100
commit78968c2e97a5c407a65088aa9861052d80498053 (patch)
tree4fa02e7b9fd0b321b8ed7e4adaa7e06c6527929c /src/zenserver/upstream/jupiter.h
parentUpdate README.md (diff)
downloadzen-78968c2e97a5c407a65088aa9861052d80498053.tar.xz
zen-78968c2e97a5c407a65088aa9861052d80498053.zip
improve oplog export logging (#644)
- Improvement: More details in oplog import/export logs - Improvement: Switch from Download to Get when fetching Refs from Jupiter as they can't be resumed anyway and streaming to disk is redundant - Bugfix: Make sure we clear read callback when doing Put in HttpClient to avoid timeout due to not sending data when reusing sessions - Bugfix: Respect `--ignore-missing-attachments` in `oplog-export` command when loose file is missing on disk
Diffstat (limited to 'src/zenserver/upstream/jupiter.h')
-rw-r--r--src/zenserver/upstream/jupiter.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/zenserver/upstream/jupiter.h b/src/zenserver/upstream/jupiter.h
index 93f2cc883..cfe8f6186 100644
--- a/src/zenserver/upstream/jupiter.h
+++ b/src/zenserver/upstream/jupiter.h
@@ -94,11 +94,7 @@ public:
~CloudCacheSession();
CloudCacheResult Authenticate();
- CloudCacheResult GetRef(std::string_view Namespace,
- std::string_view BucketId,
- const IoHash& Key,
- ZenContentType RefType,
- std::filesystem::path TempFolderPath = {});
+ CloudCacheResult GetRef(std::string_view Namespace, std::string_view BucketId, const IoHash& Key, ZenContentType RefType);
CloudCacheResult GetBlob(std::string_view Namespace, const IoHash& Key);
CloudCacheResult GetCompressedBlob(std::string_view Namespace, const IoHash& Key, std::filesystem::path TempFolderPath = {});
CloudCacheResult GetObject(std::string_view Namespace, const IoHash& Key);