no dup log
This commit is contained in:
parent
0b041c77f4
commit
84ba176ec9
2 changed files with 2 additions and 3 deletions
|
@ -2,8 +2,7 @@ FROM archlinux:latest
|
||||||
|
|
||||||
COPY target/release/examples/basalt /root/basalt
|
COPY target/release/examples/basalt /root/basalt
|
||||||
|
|
||||||
CMD /root/basalt
|
|
||||||
ENV RUST_BACKTRACE=1
|
ENV RUST_BACKTRACE=1
|
||||||
ENV RUST_LOG=netapp=info,netapp::peering=debug,basalt=info
|
ENV RUST_LOG=netapp=info,netapp::peering=debug,basalt=info
|
||||||
|
|
||||||
CMD /garage/garage server -c /garage/config.toml
|
CMD /root/basalt
|
||||||
|
|
|
@ -128,7 +128,7 @@ async fn sampling_loop(netapp: Arc<NetApp>, basalt: Arc<Basalt>) {
|
||||||
|
|
||||||
let peers = basalt.sample(10);
|
let peers = basalt.sample(10);
|
||||||
for p in peers {
|
for p in peers {
|
||||||
info!("KYEV S {}", hex::encode(p));
|
debug!("kyev S {}", hex::encode(p));
|
||||||
|
|
||||||
let netapp2 = netapp.clone();
|
let netapp2 = netapp.clone();
|
||||||
tokio::spawn(async move {
|
tokio::spawn(async move {
|
||||||
|
|
Loading…
Reference in a new issue