Skip to content

Commit a293330

Browse files
committed
use DEFAULT_SERVER_PORT
1 parent 6907012 commit a293330

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/top/re_sdk/src/recording_stream.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ impl RecordingStreamBuilder {
421421
pub fn serve_grpc(self) -> RecordingStreamResult<RecordingStream> {
422422
self.serve_grpc_opts(
423423
"0.0.0.0",
424-
9876,
424+
crate::DEFAULT_SERVER_PORT,
425425
re_memory::MemoryLimit::from_fraction_of_total(0.75),
426426
)
427427
}
@@ -1893,7 +1893,7 @@ impl RecordingStream {
18931893
&self,
18941894
server_memory_limit: re_memory::MemoryLimit,
18951895
) -> RecordingStreamResult<()> {
1896-
self.serve_grpc_opts("0.0.0.0", 9876, server_memory_limit)
1896+
self.serve_grpc_opts("0.0.0.0", crate::DEFAULT_SERVER_PORT, server_memory_limit)
18971897
}
18981898

18991899
#[cfg(feature = "server")]

0 commit comments

Comments
 (0)