aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/httpclientauth.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2026-02-20 09:05:23 +0100
committerGitHub Enterprise <[email protected]>2026-02-20 09:05:23 +0100
commitee26e5af2ced0987fbdf666dc6bce7c2074e925f (patch)
tree7d8e6c614d62a9d31e85d2b508c4b209ebb847bc /src/zenhttp/httpclientauth.cpp
parent5.7.21 (diff)
downloadzen-ee26e5af2ced0987fbdf666dc6bce7c2074e925f.tar.xz
zen-ee26e5af2ced0987fbdf666dc6bce7c2074e925f.zip
GC - fix handling of attachment ranges, http access token expiration, lock file retry logic (#766)
* GC - fix handling of attachment ranges * fix trace/log strings * fix HTTP access token expiration time logic * added missing lock retry in zenserver startup
Diffstat (limited to 'src/zenhttp/httpclientauth.cpp')
-rw-r--r--src/zenhttp/httpclientauth.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenhttp/httpclientauth.cpp b/src/zenhttp/httpclientauth.cpp
index 72df12d02..02e1b57e2 100644
--- a/src/zenhttp/httpclientauth.cpp
+++ b/src/zenhttp/httpclientauth.cpp
@@ -170,7 +170,7 @@ namespace zen { namespace httpclientauth {
time_t UTCTime = timegm(&Time);
HttpClientAccessToken::TimePoint ExpireTime = std::chrono::system_clock::from_time_t(UTCTime);
- ExpireTime += std::chrono::microseconds(Millisecond);
+ ExpireTime += std::chrono::milliseconds(Millisecond);
return HttpClientAccessToken{.Value = fmt::format("Bearer {}"sv, Token), .ExpireTime = ExpireTime};
}