mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-28 14:39:49 +00:00
remove tracing::intrument annotations (#3197)
* remove tracing::intrument annotations * remove unused param and leftover * more leftovers
This commit is contained in:
1 parent
99d49ad7c9
commit
29b531f4ec
22 files changed
-131
No files matched your search
@@ -176,7 +176,6 @@ impl FetchTask {
|
||||
/// Start fetching a chunk.
|
||||
///
|
||||
/// A task handling the fetching of the configured chunk will be spawned.
|
||||
#[tracing::instrument(level = "trace", skip(config, ctx), fields(subsystem = LOG_TARGET))]
|
||||
pub async fn start<Context>(config: FetchTaskConfig, ctx: &mut Context) -> Result<Self>
|
||||
where
|
||||
Context: SubsystemContext,
|
||||
@@ -249,7 +248,6 @@ enum TaskError {
|
||||
}
|
||||
|
||||
impl RunningTask {
|
||||
#[tracing::instrument(level = "trace", skip(self, kill), fields(subsystem = LOG_TARGET))]
|
||||
async fn run(self, kill: oneshot::Receiver<()>) {
|
||||
// Wait for completion/or cancel.
|
||||
let run_it = self.run_inner();
|
||||
|
||||
Reference in new issue
Block a user