Skip to content

Commit

Permalink
GEODE-9973: Correct docs regarding P2P socket timeout behaviour (#7310)
Browse files Browse the repository at this point in the history
  • Loading branch information
DonalEvans authored and davebarnes97 committed Jan 26, 2022
1 parent 3430c56 commit d259570
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ recommend that you set `conserve-sockets` to `false`.
You can force the release of an idle socket connection for peer-to-peer and client-to-server connections:
- **Peer-to-peer**. For peer-to-peer threads that do not share sockets, you can use the `socket-lease-time` to make sure that no socket sits idle for too long. When a socket that belongs to an individual thread remains unused for this time period, the system automatically returns it to the pool. The next time the thread needs a socket, it creates a new socket.
- **Peer-to-peer**. For peer-to-peer threads that do not share sockets, you can use the `socket-lease-time` to make sure that no socket sits idle for too long. When a socket that belongs to an individual thread remains unused for this time period, the system automatically closes that socket. The next time the thread needs a socket, it creates a new socket.
- **Client**. For client connections, you can affect the same lease-time behavior by setting the pool `idle-timeout`.
## <a id="socket_comm__section_936C6562C0034A2EAC9A63FFE9FDAC36" class="no-quick-link"></a>Calculating Connection Requirements
Expand Down

0 comments on commit d259570

Please sign in to comment.