aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/projectstore/httpprojectstore.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2023-08-11 13:55:19 +0200
committerGitHub <[email protected]>2023-08-11 13:55:19 +0200
commit26717f50c658ea2cf745a4e0042735d3fa21f214 (patch)
tree26ea44cc893e6a4a2b041c8ca55fc7aae47d1076 /src/zenserver/projectstore/httpprojectstore.cpp
parentAdd `response.text` to output in log when jupiter request fails (#354) (diff)
downloadzen-26717f50c658ea2cf745a4e0042735d3fa21f214.tar.xz
zen-26717f50c658ea2cf745a4e0042735d3fa21f214.zip
Make sure we always write "data" attachment hash for snapshotted oplog entries (#355)
* Make sure we always write "data" attachment hash for snapshotted oplog entries * Make sure to add chunk mappings for files moved to attatchment in snapshot operation * fix inverted timoute for expiration (we don't want time expiry in these cases) * increase timeout for jupiter oplog in project to 3 min * changelog
Diffstat (limited to 'src/zenserver/projectstore/httpprojectstore.cpp')
-rw-r--r--src/zenserver/projectstore/httpprojectstore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenserver/projectstore/httpprojectstore.cpp b/src/zenserver/projectstore/httpprojectstore.cpp
index 185f2783d..7e7517c33 100644
--- a/src/zenserver/projectstore/httpprojectstore.cpp
+++ b/src/zenserver/projectstore/httpprojectstore.cpp
@@ -936,7 +936,7 @@ HttpProjectService::HttpProjectService(CidStore& Store, ProjectStore* Projects,
CbObjectWriter Cb;
Cb << "id"sv << Log.OplogId() << "project"sv << Project->Identifier << "tempdir"sv << Log.TempPath().c_str()
<< "markerpath"sv << Log.MarkerPath().c_str() << "totalsize"sv << Log.TotalSize() << "opcount"
- << Log.OplogCount() << "expired"sv << Project->IsExpired(GcClock::TimePoint::max(), Log);
+ << Log.OplogCount() << "expired"sv << Project->IsExpired(GcClock::TimePoint::min(), Log);
HttpReq.WriteResponse(HttpResponseCode::OK, Cb.Save());
}