You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(nr_large): use spawn_blocking also around bash script execution (#8595)
Similarly to #8547, this PR spawns the execution of the bash script
itself as a blocking task since it also uses blocking I/O.
Unfortunately, I could not simply write
```rust
tokio::task::spawn_blocking(move || self.block_on_bash_script_from_session(&session, &script))
.await
.expect("Executing bash script task panicked")
```
because I also had to clone `self`, which is not `Clone`. Removing the
`self` parameter from `block_on_bash_script_from_session` (which is not
used) would not be practical either as we would have to adapt every call
site.
0 commit comments