aboutsummaryrefslogtreecommitdiff
path: root/handler.go
diff options
context:
space:
mode:
Diffstat (limited to 'handler.go')
-rw-r--r--handler.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/handler.go b/handler.go
index e3b15cf..7366761 100644
--- a/handler.go
+++ b/handler.go
@@ -80,7 +80,6 @@ func addEntry(ctx context.Context, i *Instance, w http.ResponseWriter, r *http.R
if err != nil {
return http.StatusInternalServerError, err
}
- lastSdiTimestamp.Set(float64(time.Now().Unix()), i.LogParameters.id())
if err := writeJsonResponse(rsp, w); err != nil {
return http.StatusInternalServerError, err
}
@@ -217,8 +216,6 @@ func getSth(ctx context.Context, i *Instance, w http.ResponseWriter, _ *http.Req
if err != nil {
return http.StatusInternalServerError, err
}
- lastSthTimestamp.Set(float64(time.Now().Unix()), i.LogParameters.id())
- lastSthSize.Set(float64(sth.SignedTreeHeadV1.TreeHead.TreeSize), i.LogParameters.id())
if err := writeJsonResponse(rsp, w); err != nil {
return http.StatusInternalServerError, err
}