address grumbles
This commit is contained in:
parent
46b1224f7c
commit
09bc675e6a
@ -384,7 +384,7 @@ pub struct Args {
|
||||
pub flag_from: String,
|
||||
pub flag_to: String,
|
||||
pub flag_at: String,
|
||||
pub flag_no_periodic_snapshot: bool,
|
||||
pub flag_no_periodic_snapshot: bool,
|
||||
pub flag_format: Option<String>,
|
||||
pub flag_jitvm: bool,
|
||||
pub flag_log_file: Option<String>,
|
||||
|
@ -273,17 +273,6 @@ pub fn execute(cmd: RunCmd) -> Result<(), String> {
|
||||
},
|
||||
};
|
||||
|
||||
if !cmd.no_periodic_snapshot {
|
||||
let watcher = snapshot::Watcher::new(
|
||||
service.client(),
|
||||
service.io().channel(),
|
||||
SNAPSHOT_PERIOD,
|
||||
SNAPSHOT_HISTORY,
|
||||
);
|
||||
|
||||
service.add_notify(Arc::new(watcher));
|
||||
}
|
||||
|
||||
// start ui
|
||||
if cmd.ui {
|
||||
if !cmd.dapps_conf.enabled {
|
||||
|
Loading…
Reference in New Issue
Block a user