parent
c73eed9634
commit
3fa0e3caef
3 changed files with 5 additions and 0 deletions
|
@ -4,6 +4,9 @@ This document outlines major changes between releases.
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
### Added
|
||||||
|
- Config reloading on SIGHUP (#200)
|
||||||
|
|
||||||
## [0.24.0] - 2022-09-14
|
## [0.24.0] - 2022-09-14
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
|
@ -259,6 +259,7 @@ type Downloader struct {
|
||||||
settings *Settings
|
settings *Settings
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Settings stores reloading parameters, so it has to provide atomic getters and setters.
|
||||||
type Settings struct {
|
type Settings struct {
|
||||||
zipCompression atomic.Bool
|
zipCompression atomic.Bool
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,6 +43,7 @@ type epochDurations struct {
|
||||||
blockPerEpoch uint64
|
blockPerEpoch uint64
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Settings stores reloading parameters, so it has to provide atomic getters and setters.
|
||||||
type Settings struct {
|
type Settings struct {
|
||||||
defaultTimestamp atomic.Bool
|
defaultTimestamp atomic.Bool
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue