Compare commits
2 Commits
54b1b0adf5
...
9a509f95cc
Author | SHA1 | Date | |
---|---|---|---|
|
9a509f95cc | ||
|
c8fbc6680b |
@@ -45,7 +45,6 @@ pub struct ActorConfig {
|
|||||||
pub actor_id: String,
|
pub actor_id: String,
|
||||||
pub db_path: String,
|
pub db_path: String,
|
||||||
pub redis_url: String,
|
pub redis_url: String,
|
||||||
pub preserve_tasks: bool,
|
|
||||||
pub default_timeout: Option<Duration>, // Only used by async actors
|
pub default_timeout: Option<Duration>, // Only used by async actors
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -55,13 +54,11 @@ impl ActorConfig {
|
|||||||
actor_id: String,
|
actor_id: String,
|
||||||
db_path: String,
|
db_path: String,
|
||||||
redis_url: String,
|
redis_url: String,
|
||||||
preserve_tasks: bool,
|
|
||||||
) -> Self {
|
) -> Self {
|
||||||
Self {
|
Self {
|
||||||
actor_id,
|
actor_id,
|
||||||
db_path,
|
db_path,
|
||||||
redis_url,
|
redis_url,
|
||||||
preserve_tasks,
|
|
||||||
default_timeout: None,
|
default_timeout: None,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user