public RPCNetworkParams setOptimization(Optimization optimization) {
        this.optimization = optimization;
        return this;
    }
Sets the number of seconds before an idle network connection expires.

@param secs The number of seconds.
@return This, to allow chaining.
messagebus/src/main/java/com/yahoo/messagebus/network/rpc/RPCNetworkParams.java