<zk>
    <log>
        <log-base></log-base>
    </log>

    <session-config>
        <!-- -1 value means session should never timeout -->
        <session-timeout>-1</session-timeout>
    </session-config>
    <error-page>
        <exception-type>java.lang.Throwable
        </exception-type>
        <location>/common/event_error.zul</location>
    </error-page>

    <!--  Spring Security -->
    <listener>
	   <description>ThreadLocal Synchronization Listener</description>
	   <listener-class>org.zkoss.zkplus.util.ThreadLocalListener</listener-class>
    </listener>

	<preference>
		<name>ThreadLocal</name>
		<value>
			org.springframework.security.context.ThreadLocalSecurityContextHolderStrategy=contextHolder
		</value>
	</preference>
    <!-- Look org.zkoss.zk.ui.Desktop.setServerPushDelay(int, int, int) -->
	<preference>
        <name>PollingServerPush.delay.min</name>
        <value>100</value>
    </preference>

    <preference>
        <name>PollingServerPush.delay.max</name>
        <value>1000</value>
    </preference>

    <preference>
        <name>PollingServerPush.delay.factor</name>
        <value>2</value>
    </preference>

    <preference>
        <name>ThreadLocal</name>
        <value>
            org.springframework.security.context.ThreadLocalSecurityContextHolderStrategy=contextHolder
        </value>
    </preference>

</zk>

<zk>
    <log>
        <log-base></log-base>
    </log>

    <session-config>
        <!-- -1 value means session should never timeout -->
        <session-timeout>-1</session-timeout>
    </session-config>
    <error-page>
        <exception-type>java.lang.Throwable
        </exception-type>
        <location>/common/event_error.zul</location>
    </error-page>

    <!--  Spring Security -->
    <listener>
	   <description>ThreadLocal Synchronization Listener</description>
	   <listener-class>org.zkoss.zkplus.util.ThreadLocalListener</listener-class>
    </listener>

	<preference>
		<name>ThreadLocal</name>
		<value>
			org.springframework.security.context.ThreadLocalSecurityContextHolderStrategy=contextHolder
		</value>
	</preference>

</zk>

Use ZK polling default values
ItEr57S15RecalculosConexionEscenarios: Use ZK polling default values

Revert "ItEr49S04ValidacionEProbasFuncionaisItEr48S04: Configuring polling default values."
This reverts commit b1495b6c0c5a0cea1cb19261362d04a7e99dac0f.
