@@ -197,7 +197,7 @@ pub struct Server {
197
197
pub open_ai_key : Option < String > ,
198
198
199
199
/// Livetail port
200
- pub livetail_port : u16 ,
200
+ pub grpc_port : u16 ,
201
201
202
202
/// Rows in Parquet Rowgroup
203
203
pub row_group_size : usize ,
@@ -253,8 +253,8 @@ impl FromArgMatches for Server {
253
253
. cloned ( )
254
254
. expect ( "default for send analytics" ) ;
255
255
self . open_ai_key = m. get_one :: < String > ( Self :: OPEN_AI_KEY ) . cloned ( ) ;
256
- self . livetail_port = m
257
- . get_one :: < u16 > ( Self :: LIVETAIL_PORT )
256
+ self . grpc_port = m
257
+ . get_one :: < u16 > ( Self :: GRPC_PORT )
258
258
. cloned ( )
259
259
. expect ( "default for livetail port" ) ;
260
260
// converts Gib to bytes before assigning
@@ -321,7 +321,7 @@ impl Server {
321
321
pub const OPENID_CLIENT_ID : & str = "oidc-client" ;
322
322
pub const OPENID_CLIENT_SECRET : & str = "oidc-client-secret" ;
323
323
pub const OPENID_ISSUER : & str = "oidc-issuer" ;
324
- pub const LIVETAIL_PORT : & str = "livetail -port" ;
324
+ pub const GRPC_PORT : & str = "grpc -port" ;
325
325
// todo : what should this flag be
326
326
pub const QUERY_MEM_POOL_SIZE : & str = "query-mempool-size" ;
327
327
pub const ROW_GROUP_SIZE : & str = "row-group-size" ;
@@ -466,9 +466,9 @@ impl Server {
466
466
. help ( "Set host global domain address" ) ,
467
467
)
468
468
. arg (
469
- Arg :: new ( Self :: LIVETAIL_PORT )
470
- . long ( Self :: LIVETAIL_PORT )
471
- . env ( "P_FLIGHT_PORT " )
469
+ Arg :: new ( Self :: GRPC_PORT )
470
+ . long ( Self :: GRPC_PORT )
471
+ . env ( "P_GRPC_PORT " )
472
472
. value_name ( "PORT" )
473
473
. default_value ( "8001" )
474
474
. required ( false )
0 commit comments