diff options
| author | Ellie Huxtable <ellie@atuin.sh> | 2024-07-10 15:46:51 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-10 15:46:51 +0100 |
| commit | 353981e79455ec42a692d384d403dcda112704bd (patch) | |
| tree | 993b6592b415a921399d3276848e47e04ce757d6 /crates/atuin-daemon/src/server.rs | |
| parent | chore(deps): bump react-spinners from 0.13.8 to 0.14.1 in /ui (#2220) (diff) | |
| download | atuin-353981e79455ec42a692d384d403dcda112704bd.zip | |
chore(deps): update to tonic 0.12, prost 0.13 (#2250)
Resolve #2248
Diffstat (limited to 'crates/atuin-daemon/src/server.rs')
| -rw-r--r-- | crates/atuin-daemon/src/server.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/atuin-daemon/src/server.rs b/crates/atuin-daemon/src/server.rs index 1cfcef51..c9f97a65 100644 --- a/crates/atuin-daemon/src/server.rs +++ b/crates/atuin-daemon/src/server.rs @@ -207,6 +207,7 @@ async fn start_server(settings: Settings, history: HistoryService) -> Result<()> }; let uds_stream = UnixListenerStream::new(uds); + Server::builder() .add_service(HistoryServer::new(history)) .serve_with_incoming_shutdown( @@ -214,6 +215,7 @@ async fn start_server(settings: Settings, history: HistoryService) -> Result<()> shutdown_signal(cleanup.then_some(socket_path.into())), ) .await?; + Ok(()) } |
