From cfa216c3c4341e79f3729e97c74bb3a61b6010c6 Mon Sep 17 00:00:00 2001 From: Scott Fleckenstein Date: Thu, 15 Mar 2018 12:43:49 -0500 Subject: [PATCH 1/2] Removes inline call to `UpdateStellarCoreInfo()` from root acount --- services/horizon/internal/actions_root.go | 2 -- services/horizon/internal/actions_root_test.go | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/services/horizon/internal/actions_root.go b/services/horizon/internal/actions_root.go index 04f685edf9..97d9f05dd4 100644 --- a/services/horizon/internal/actions_root.go +++ b/services/horizon/internal/actions_root.go @@ -14,8 +14,6 @@ type RootAction struct { // JSON renders the json response for RootAction func (action *RootAction) JSON() { - action.App.UpdateStellarCoreInfo() - var res resource.Root res.Populate( action.Ctx, diff --git a/services/horizon/internal/actions_root_test.go b/services/horizon/internal/actions_root_test.go index a15a08ac85..324222fd4c 100644 --- a/services/horizon/internal/actions_root_test.go +++ b/services/horizon/internal/actions_root_test.go @@ -23,6 +23,7 @@ func TestRootAction(t *testing.T) { ht.App.horizonVersion = "test-horizon" ht.App.config.StellarCoreURL = server.URL + ht.App.UpdateStellarCoreInfo() w := ht.Get("/") if ht.Assert.Equal(200, w.Code) { From 03294435137b875139c832fb7c6fd38bc22a0904 Mon Sep 17 00:00:00 2001 From: Scott Fleckenstein Date: Tue, 20 Mar 2018 22:33:53 -0500 Subject: [PATCH 2/2] Bump changelog to v0.12.3 --- services/horizon/CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/services/horizon/CHANGELOG.md b/services/horizon/CHANGELOG.md index d4de3839aa..486154159f 100644 --- a/services/horizon/CHANGELOG.md +++ b/services/horizon/CHANGELOG.md @@ -6,6 +6,13 @@ file. This project adheres to [Semantic Versioning](http://semver.org/). As this project is pre 1.0, breaking changes may happen for minor version bumps. A breaking change will get clearly notified in this log. +## v0.12.3 - 2017-03-20 + +### Bug fixes + +- Fix a service stutter caused by excessive `info` commands being issued from the root endpoint. + + ## v0.12.2 - 2017-03-14 This release is a bug fix release for v0.12.1 and v0.12.2. *Please see the upgrade notes below if you did not already migrate your db for v0.12.0*