aboutsummaryrefslogtreecommitdiff
path: root/handler.go
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-11-05 11:46:10 +0100
committerRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-11-05 11:46:10 +0100
commit8bb721bed66d09e27c9577d88d40cb1e48a8783d (patch)
tree8a754d85e950bb5f71c27dc055944e468dc90d25 /handler.go
parenteda3037a9c52596da61d6bb4f06e7cd4d5964756 (diff)
moved sth and sdi metrics into the signer component
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
}