<localCache> sync attribute changed in Windows Server AppFabric Beta 2 Refresh

Surprise!  another change hit me this morning.  Previously my config files contained this

 

    1:    <dataCacheClient>
    2:      <hosts>
    3:        <host name="localhost" cachePort="22233" />
    4:      </hosts>
    5:      <localCache isEnabled="true" sync="TTLBased" objectCount="100000" ttlValue="300" />
    6:    </dataCacheClient>
    7:    
    8:    

Line 5 has the attribute sync with the value of TTLBased.

In Windows Server AppFabric Beta 2 refresh there is a different set of values for this attribute.  They are

  • TimeoutBased
  • NotificationBased

 

So now your config should look like this

 

    1:    <dataCacheClient>
    2:      <hosts>
    3:        <host name="localhost" cachePort="22233" />
    4:      </hosts>
    5:      <localCache isEnabled="true" sync="TimeoutBased" objectCount="100000" ttlValue="300" />
    6:    </dataCacheClient>