Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ NIFs are built during every Ockam release and used in production, e.g. during [h

## Updating Precompile NIF Version

When using a precompiled NIF, we compare the SHA of the precompiled NIF downloaded from GitHub release with that stored in the `checksum-Elixir.ockam_rust_elixir_nifs.Native.exs` file. To update the default precompiled NIF version to use in the ockam_rust_elixir_nifs library, we need to update the SHASum of supported NIF architechtures in the `checksum-Elixir.ockam_rust_elixir_nifs.Native.exs` file.
When using a precompiled NIF, we compare the SHA of the precompiled NIF downloaded from GitHub release with that stored in the `checksum-Elixir.ockam_rust_elixir_nifs.Native.exs` file. To update the default precompiled NIF version to use in the ockam_rust_elixir_nifs library, we need to update the SHASum of supported NIF architectures in the `checksum-Elixir.ockam_rust_elixir_nifs.Native.exs` file.
2 changes: 1 addition & 1 deletion implementations/python/src/nodes/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -902,7 +902,7 @@ impl PyNode {
let now = Instant::now();
if let Some(cached) = cache.get_mut(key) {
// Longer duration was observed to work, but I'm letting them at 3 minutes since I'm not sure
// _why_ they work (unused secure channel/tcp connections get terminated by the relay node, agressively
// _why_ they work (unused secure channel/tcp connections get terminated by the relay node, aggressively
// now)
if now.duration_since(cached.last_used) < Duration::from_secs(180) {
cached.last_used = now;
Expand Down
Loading