Update config transform doc/comment to include skipKeepAliveWhenUnused. (#89)

This commit is contained in:
Steve Molloy 2023-03-14 10:47:33 -07:00 коммит произвёл GitHub
Родитель 59159c6c4f
Коммит 9cfc91351b
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -31,6 +31,7 @@
maxRetryWaitTimeInSeconds: the maximum retry time in seconds for the Azure DocumentDB database service.
consistencyLevel: The 'ConsistencyLevel' to use with the CosmosClient. Default is not-specified, leaving the choice to Cosmos SDK. (The current SDK default is 'Session'.)
preferredLocations: sets the preferred locations(regions) for geo-replicated database accounts in the Azure DocumentDB database service. Use ';' to split multiple locations. e.g. "East US;South Central US;North Europe"
skipKeepAliveWhenUnused: Determines whether requests that don't touch or look at session state take the time to update the sliding expiration or not.
-->
<add name="CosmosDBSessionStateProviderAsync" cosmosDBEndPointSettingKey="cosmosDBEndPointSetting" cosmosDBAuthKeySettingKey="cosmosDBAuthKeySetting" databaseId="[DataBaseId]" containerId="[ContainerId]" offerThroughput="5000"
connectionMode="Direct" requestTimeout="5" maxConnectionLimit="50" maxRetryAttemptsOnThrottledRequests="10" maxRetryWaitTimeInSeconds="10" preferredLocations=""

Просмотреть файл

@ -16,6 +16,7 @@
- for compat reasons, default is 'FrameworkCompat'
maxRetryNumber = [integer] the number of retry when DB operation fails
retryInterval = [integer] intervel(milliseconds) between retries
skipKeepAliveWhenUnused = Determines whether requests that don't touch or look at session state take the time to update the sliding expiration or not.
-->
<add name="SqlSessionStateProviderAsync" connectionStringName="DefaultConnection" repositoryType="SqlServer"
type="Microsoft.AspNet.SessionState.SqlSessionStateProviderAsync, Microsoft.AspNet.SessionState.SqlSessionStateProviderAsync, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"