hunter/main: fix conditional compilation of scheduler hydration
This commit is contained in:
parent
ec77526a6b
commit
7df2f259d3
|
@ -52,7 +52,7 @@ async fn run() {
|
||||||
for host in config.hosts.into_iter() {
|
for host in config.hosts.into_iter() {
|
||||||
scheduler.introduce(InstanceHost::just_host(host)).await;
|
scheduler.introduce(InstanceHost::just_host(host)).await;
|
||||||
}
|
}
|
||||||
#[cfg(not(debug))]
|
#[cfg(not(dev))]
|
||||||
{
|
{
|
||||||
cave::systemd::status("Loading known hosts from redis");
|
cave::systemd::status("Loading known hosts from redis");
|
||||||
let mut n = 1;
|
let mut n = 1;
|
||||||
|
|
Loading…
Reference in New Issue