Skip to content

Commit

Permalink
TowerService should be clone-able for handling concurrent request (#950)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickkuo authored Nov 30, 2022
1 parent c904100 commit 2fd92e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ pub(crate) struct ServiceData<L: Logger> {
///
/// # Note
/// This is similar to [`hyper::service::service_fn`].
#[derive(Debug)]
#[derive(Debug, Clone)]
pub struct TowerService<L: Logger> {
inner: ServiceData<L>,
}
Expand Down

0 comments on commit 2fd92e3

Please sign in to comment.