Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldjeffrey committed Oct 25, 2023
1 parent dee1268 commit 75d384b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uplink/ingest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pub trait UplinkIngest: Send + Sync {
async fn gateway_disconnect(&self, gateway: Gateway);
}

pub async fn start<S: UplinkIngest + Clone>(sender: S, addr: SocketAddr) -> Result {
pub async fn start<S: UplinkIngest + Clone + 'static>(sender: S, addr: SocketAddr) -> Result {
tonic::transport::Server::builder()
.add_service(PacketServer::new(Gateways::new(sender)))
.serve(addr)
Expand Down

0 comments on commit 75d384b

Please sign in to comment.