Skip to content

Commit

Permalink
Merge pull request #1433 from genesiscommunitysuccess/PDOC-505
Browse files Browse the repository at this point in the history
fix: remove redundant property concurrencyLevel in the cache (PDOC-505)
  • Loading branch information
GuiWar authored Dec 7, 2023
2 parents 7b1b28a + bc83a1e commit fc0fe4d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions docs/03_server/01_configuring-runtime/06_cache.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ The options for both XML and GPAL are:
* **expireAfterAccess**. The period of time that an entry will be cached since the last time it was read. This option uses the **timeUnit** attribute in the same way as **expireAfterWrite** to define the unit of time for the period. Default: 300 seconds.
* **initialCapacity**. This is the number of entries the cache will be able to hold without extending its size since the start of the process. Default: 10000.
* **maximumEntries** . This is the limit of entries we can hold in our cache. If the limit is achieved, entries will be replaced with an LRU algorithm. Default: 10000.
* **concurrencyLevel**. This sets the way the cache is structured internally, so it controls the extent of concurrency that is achieved with multi-threaded operations. It is a sensitive configuration parameter and can potentially worsen performance. Use it for fine-tuning - or not at all. You have been warned! Default: 4.
* **multipleKeys**. This setting has been deprecated and has no effect as of 2022.2 release. In order to achieve similar functionality, the **indices** option for each table has been introduced.
* **update**. This setting implies the cache will update currently cached records with the latest information as they are updated in the database layer. Default: false.
* **loadOnStart**. This global option enables pre-loading database tables in cache before the process starts and it applies as a default for all tables defined in the tables section. Default: false.
Expand All @@ -49,7 +48,6 @@ Choosing the right index definition is paramount to improving view query perform
<expireAfterAccess timeUnit="SECONDS">300</expireAfterAccess>
<initialCapacity>10000</initialCapacity>
<maximumEntries>10000</maximumEntries>
<concurrencyLevel>4</concurrencyLevel>
<update>false</update>
<insertNewEntries>false</insertNewEntries>
<loadOnStart>true</loadOnStart>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ The options for both XML and GPAL are:
* **expireAfterAccess**. The period of time that an entry will be cached since the last time it was read. This option uses the **timeUnit** attribute in the same way as **expireAfterWrite** to define the unit of time for the period. Default: 300 seconds.
* **initialCapacity**. This is the number of entries the cache will be able to hold without extending its size since the start of the process. Default: 10000.
* **maximumEntries** . This is the limit of entries we can hold in our cache. If the limit is achieved, entries will be replaced with an LRU algorithm. Default: 10000.
* **concurrencyLevel**. This sets the way the cache is structured internally, so it controls the extent of concurrency that is achieved with multi-threaded operations. It is a sensitive configuration parameter and can potentially worsen performance. Use it for fine-tuning - or not at all. You have been warned! Default: 4.
* **multipleKeys**. This setting has been deprecated and has no effect as of 2022.2 release. In order to achieve similar functionality, the **indices** option for each table has been introduced.
* **update**. This setting implies the cache will update currently cached records with the latest information as they are updated in the database layer. Default: false.
* **loadOnStart**. This global option enables pre-loading database tables in cache before the process starts and it applies as a default for all tables defined in the tables section. Default: false.
Expand All @@ -49,7 +48,6 @@ Choosing the right index definition is paramount to improving view query perform
<expireAfterAccess timeUnit="SECONDS">300</expireAfterAccess>
<initialCapacity>10000</initialCapacity>
<maximumEntries>10000</maximumEntries>
<concurrencyLevel>4</concurrencyLevel>
<update>false</update>
<insertNewEntries>false</insertNewEntries>
<loadOnStart>true</loadOnStart>
Expand Down

0 comments on commit fc0fe4d

Please sign in to comment.