Discover Packages
storj.io/storj
satellite
accounting
reportedrollup
package
Version:
v0.31.3
Opens a new window with list of versions in this module.
Published: Jan 29, 2020
License: AGPL-3.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Chore for flushing reported serials to the database as rollups.
architecture: Chore
NewChore creates new chore for flushing the reported serials to the database as rollups.
Close stops the reported rollups chore.
Run starts the reported rollups chore.
RunOnce finds expired bandwidth as of 'now' and inserts rollups into the appropriate tables.
type Config struct {
Interval time .Duration `help:"how often to flush the reported serial rollups to the database" devDefault:"5m" releaseDefault:"24h"`
}
Config is a configuration struct for the Chore.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.