Take relays consumption in account
This commit is contained in:
@ -76,6 +76,14 @@ pub struct AppConfig {
|
||||
#[arg(short, long, env, default_value = "storage")]
|
||||
storage: String,
|
||||
|
||||
/// The minimal production that must be excluded when selecting relays to turn on
|
||||
#[arg(short('m'), long, env, default_value_t = -500)]
|
||||
pub production_margin: i32,
|
||||
|
||||
/// Energy refresh operations interval, in seconds
|
||||
#[arg(short('i'), long, env, default_value_t = 30)]
|
||||
pub refresh_interval: u64,
|
||||
|
||||
/// Consumption backend provider
|
||||
#[clap(subcommand)]
|
||||
pub consumption_backend: Option<ConsumptionBackend>,
|
||||
|
Reference in New Issue
Block a user