Compare commits

...

2 Commits

Author SHA1 Message Date
Timur Gordon
9a509f95cc Merge branch 'main' of https://git.ourworld.tf/herocode/hero 2025-08-20 11:26:55 +02:00
Timur Gordon
c8fbc6680b remove preserve tasks from actor trait 2025-08-20 11:25:32 +02:00

View File

@@ -45,7 +45,6 @@ pub struct ActorConfig {
pub actor_id: String,
pub db_path: String,
pub redis_url: String,
pub preserve_tasks: bool,
pub default_timeout: Option<Duration>, // Only used by async actors
}
@@ -55,13 +54,11 @@ impl ActorConfig {
actor_id: String,
db_path: String,
redis_url: String,
preserve_tasks: bool,
) -> Self {
Self {
actor_id,
db_path,
redis_url,
preserve_tasks,
default_timeout: None,
}
}