Skip to content

Commit

Permalink
Merge pull request #3083 from amvanbaren/file-caches
Browse files Browse the repository at this point in the history
Add file caches
  • Loading branch information
amvanbaren authored Nov 4, 2024
2 parents 0b0b01d + f198a5f commit b452528
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions configuration/ehcache.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,40 @@
<disk unit="MB">8</disk>
</resources>
</cache>
<cache alias="files.webresource">
<expiry>
<tti unit="hours">1</tti>
</expiry>
<listeners>
<listener>
<class>org.eclipse.openvsx.cache.ExpiredFileListener</class>
<event-firing-mode>ASYNCHRONOUS</event-firing-mode>
<event-ordering-mode>UNORDERED</event-ordering-mode>
<events-to-fire-on>EXPIRED</events-to-fire-on>
<events-to-fire-on>EVICTED</events-to-fire-on>
<events-to-fire-on>REMOVED</events-to-fire-on>
</listener>
</listeners>
<resources>
<heap>150</heap>
</resources>
</cache>
<cache alias="files.extension">
<expiry>
<tti unit="hours">1</tti>
</expiry>
<listeners>
<listener>
<class>org.eclipse.openvsx.cache.ExpiredFileListener</class>
<event-firing-mode>ASYNCHRONOUS</event-firing-mode>
<event-ordering-mode>UNORDERED</event-ordering-mode>
<events-to-fire-on>EXPIRED</events-to-fire-on>
<events-to-fire-on>EVICTED</events-to-fire-on>
<events-to-fire-on>REMOVED</events-to-fire-on>
</listener>
</listeners>
<resources>
<heap>20</heap>
</resources>
</cache>
</config>

0 comments on commit b452528

Please sign in to comment.