public void init(GatewaySender sender) {
    attributes.setGateway(true);
    attributes.setGatewaySender(sender);
    setIdleTimeout(-1); // never time out
    setLoadConditioningInterval(-1); // never time out
    setMaxConnections(-1);
    setMinConnections(0);
  }
The cache that created this factory
geode-core/src/main/java/org/apache/geode/internal/cache/PoolFactoryImpl.java