Skip to content

Commit cb2cd92

Browse files
authored
chore: update ractor crate to 0.13 (#433)
1 parent 80457f7 commit cb2cd92

File tree

4 files changed

+49
-11
lines changed

4 files changed

+49
-11
lines changed

Cargo.lock

Lines changed: 44 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tap-agent/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ ruint = { version = "1.12.3", features = [
3838
futures-util = { version = "0.3.28", default-features = false }
3939
jsonrpsee = { version = "0.24.0", features = ["http-client", "tracing"] }
4040
tap_aggregator = { git = "https://github.com/semiotic-ai/timeline-aggregation-protocol", rev = "eb8447e" }
41-
ractor = { version = "0.9", features = [
41+
ractor = { version = "0.13", features = [
4242
"async-trait",
4343
], default-features = false }
4444
futures = { version = "0.3.30", default-features = false }

tap-agent/src/agent/sender_account.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -893,12 +893,12 @@ impl Actor for SenderAccount {
893893

894894
// rav tracker is not updated because it's still not redeemed
895895
}
896-
SupervisionEvent::ActorPanicked(cell, error) => {
896+
SupervisionEvent::ActorFailed(cell, error) => {
897897
let sender_allocation = cell.get_name();
898898
tracing::warn!(
899899
?sender_allocation,
900900
?error,
901-
"Actor SenderAllocation panicked. Restarting..."
901+
"Actor SenderAllocation failed. Restarting..."
902902
);
903903
let Some(allocation_id) = cell.get_name() else {
904904
tracing::error!("SenderAllocation doesn't have a name");

tap-agent/src/agent/sender_accounts_manager.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,12 +243,12 @@ impl Actor for SenderAccountsManager {
243243
let sender_id = cell.get_name();
244244
tracing::info!(?sender_id, ?reason, "Actor SenderAccount was terminated")
245245
}
246-
SupervisionEvent::ActorPanicked(cell, error) => {
246+
SupervisionEvent::ActorFailed(cell, error) => {
247247
let sender_id = cell.get_name();
248248
tracing::warn!(
249249
?sender_id,
250250
?error,
251-
"Actor SenderAccount panicked. Restarting..."
251+
"Actor SenderAccount failed. Restarting..."
252252
);
253253
let Some(sender_id) = cell.get_name() else {
254254
tracing::error!("SenderAllocation doesn't have a name");

0 commit comments

Comments
 (0)