Compare commits

...

3 commits

Author SHA1 Message Date
226aa2176d Release v0.32.1
All checks were successful
/ DCO (pull_request) Successful in 34s
/ Vulncheck (pull_request) Successful in 46s
/ Builds (pull_request) Successful in 55s
/ Lint (pull_request) Successful in 2m0s
/ Tests (pull_request) Successful in 55s
Signed-off-by: Marina Biryukova <m.biryukova@yadro.com>
2025-01-27 13:11:00 +03:00
03c2569e18 [#198] Clear app services list
Signed-off-by: Marina Biryukova <m.biryukova@yadro.com>
2025-01-27 13:10:48 +03:00
990e0c2c2e [#198] Fix SIGHUP panic
All checks were successful
/ DCO (pull_request) Successful in 38s
/ Vulncheck (pull_request) Successful in 50s
/ Builds (pull_request) Successful in 59s
/ Lint (pull_request) Successful in 2m31s
/ Tests (pull_request) Successful in 59s
Signed-off-by: Marina Biryukova <m.biryukova@yadro.com>
2025-01-27 12:05:07 +03:00
3 changed files with 11 additions and 2 deletions

View file

@ -4,6 +4,11 @@ This document outlines major changes between releases.
## [Unreleased]
## [0.32.1] - 2025-01-27
### Fixed
- SIGHUP panic (#198)
## [0.32.0] - Khumbu - 2024-12-20
### Fixed
@ -184,4 +189,5 @@ To see CHANGELOG for older versions, refer to https://github.com/nspcc-dev/neofs
[0.30.3]: https://git.frostfs.info/TrueCloudLab/frostfs-http-gw/compare/v0.30.2...v0.30.3
[0.31.0]: https://git.frostfs.info/TrueCloudLab/frostfs-http-gw/compare/v0.30.3...v0.31.0
[0.32.0]: https://git.frostfs.info/TrueCloudLab/frostfs-http-gw/compare/v0.31.0...v0.32.0
[Unreleased]: https://git.frostfs.info/TrueCloudLab/frostfs-http-gw/compare/v0.32.0...master
[0.32.1]: https://git.frostfs.info/TrueCloudLab/frostfs-http-gw/compare/v0.32.0...v0.32.1
[Unreleased]: https://git.frostfs.info/TrueCloudLab/frostfs-http-gw/compare/v0.32.1...master

View file

@ -1 +1 @@
v0.32.0
v0.32.1

View file

@ -130,6 +130,7 @@ func newApp(ctx context.Context, v *viper.Viper) App {
a := &app{
ctx: ctx,
log: log.logger,
logLevel: log.lvl,
cfg: v,
loggerSettings: logSettings,
webServer: new(fasthttp.Server),
@ -614,6 +615,8 @@ func (a *app) configReload(ctx context.Context) {
}
func (a *app) startServices() {
a.services = a.services[:0]
pprofConfig := metrics.Config{Enabled: a.cfg.GetBool(cfgPprofEnabled), Address: a.cfg.GetString(cfgPprofAddress)}
pprofService := metrics.NewPprofService(a.log, pprofConfig)
a.services = append(a.services, pprofService)