From c3e8d70314a3a91aac9cc73392240e812e60aa60 Mon Sep 17 00:00:00 2001 From: Mark Vitale Date: Mon, 23 Oct 2023 16:17:11 -0400 Subject: [PATCH] budb: Remove superfluous rx_SetRxDeadTime Since the original IBM code import, the buserver has set its Rx dead time to 60 seconds at initialization. Not only is this unnecesarily long, but it is also moot because a subsequent call to rx_InitHost resets the rx dead time to the default 12 seconds. Remove the superfluous rx_SetRxDeadTime. Change-Id: I21acaf3cef1c80af06fa031ca2cdecd29d0fc5a3 Reviewed-on: https://gerrit.openafs.org/15592 Reviewed-by: Andrew Deason Reviewed-by: Benjamin Kaduk Tested-by: Benjamin Kaduk --- src/budb/server.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/budb/server.c b/src/budb/server.c index 6a5fa61165..2863f40512 100644 --- a/src/budb/server.c +++ b/src/budb/server.c @@ -516,8 +516,6 @@ main(int argc, char **argv) if (r < 0 || dbNamePtr == 0) ERROR(-1); - rx_SetRxDeadTime(60); /* 60 seconds inactive before timeout */ - if (rxBind) { afs_int32 ccode; if (AFSDIR_SERVER_NETRESTRICT_FILEPATH ||