feat: rename create_persistent_cache_task to create_persistent in cache_task (#604)
Signed-off-by: Gaius <gaius.qi@gmail.com>
This commit is contained in:
parent
5fc8ba8122
commit
c3dc4ff938
|
|
@ -650,7 +650,7 @@ impl DfdaemonDownload for DfdaemonDownloadServerHandler {
|
||||||
// Create the persistent cache task to local storage.
|
// Create the persistent cache task to local storage.
|
||||||
let task = match self
|
let task = match self
|
||||||
.cache_task
|
.cache_task
|
||||||
.create_persistent_cache_task(
|
.create_persistent(
|
||||||
task_id.as_str(),
|
task_id.as_str(),
|
||||||
host_id.as_str(),
|
host_id.as_str(),
|
||||||
peer_id.as_str(),
|
peer_id.as_str(),
|
||||||
|
|
|
||||||
|
|
@ -61,8 +61,8 @@ impl CacheTask {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// create_persistent_cache_task creates a persistent cache task from local.
|
// create_persistent creates a persistent cache task from local.
|
||||||
pub async fn create_persistent_cache_task(
|
pub async fn create_persistent(
|
||||||
&self,
|
&self,
|
||||||
task_id: &str,
|
task_id: &str,
|
||||||
host_id: &str,
|
host_id: &str,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue