Skip to content

Commit f97657d

Browse files
committed
small docfix, upgrade workflows
1 parent d8cfba0 commit f97657d

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ sha3 = "0.10.8"
4545
fastbloom-rs = "0.5.9"
4646

4747
# workflows
48-
ollama-workflows = { git = "https://github.com/andthattoo/ollama-workflows", rev = "aaa887e" }
48+
ollama-workflows = { git = "https://github.com/andthattoo/ollama-workflows", rev = "66e46d2" }
4949

5050
# peer-to-peer
5151
libp2p = { git = "https://github.com/anilaltuner/rust-libp2p.git", rev = "7ce9f9e", features = [

src/p2p/behaviour.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ fn create_kademlia_behavior(local_peer_id: PeerId) -> kad::Behaviour<MemoryStore
4141
const QUERY_TIMEOUT_SECS: u64 = 5 * 60;
4242
const RECORD_TTL_SECS: u64 = 30;
4343

44-
// TODO: use versioning here?
45-
4644
let mut cfg = Config::new(P2P_KADEMLIA_PROTOCOL);
4745
cfg.set_query_timeout(Duration::from_secs(QUERY_TIMEOUT_SECS))
4846
.set_record_ttl(Some(Duration::from_secs(RECORD_TTL_SECS)));

src/p2p/client.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ impl P2PClient {
226226
log::warn!("Local node is listening on {}", address);
227227
}
228228
SwarmEvent::ExternalAddrConfirmed { address } => {
229-
log::warn!("External address confirmed: {}", address);
229+
log::info!("External address confirmed: {}", address);
230230
}
231231
event => log::trace!("Unhandled Swarm Event: {:?}", event),
232232
}
@@ -245,7 +245,7 @@ impl P2PClient {
245245
// check protocol string
246246
if info.protocol_version != P2P_PROTOCOL_STRING {
247247
log::warn!(
248-
"Identify: Peer {} has different Identify protocol: (have {}, want {})",
248+
"Identify: Peer {} has different Identify protocol: (them {}, you {})",
249249
peer_id,
250250
info.protocol_version,
251251
P2P_PROTOCOL_STRING
@@ -274,7 +274,7 @@ impl P2PClient {
274274
.add_address(&peer_id, addr);
275275
} else {
276276
log::warn!(
277-
"Identify: Peer {} has different Kademlia version: (have {}, want {})",
277+
"Identify: Peer {} has different Kademlia version: (them {}, you {})",
278278
peer_id,
279279
kad_protocol,
280280
P2P_KADEMLIA_PROTOCOL

0 commit comments

Comments
 (0)