Skip to content

Commit

Permalink
Remove Resource Handle Cache
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderkiel committed Jun 11, 2023
1 parent 5720cca commit 6f72982
Show file tree
Hide file tree
Showing 29 changed files with 122 additions and 8,741 deletions.
5,484 changes: 0 additions & 5,484 deletions compose/blaze.json

This file was deleted.

2,493 changes: 0 additions & 2,493 deletions compose/node.json

This file was deleted.

8 changes: 0 additions & 8 deletions compose/prometheus.yml

This file was deleted.

7 changes: 0 additions & 7 deletions dev/blaze/dev.clj
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,6 @@
(log/set-level! :info)
)


;; Resource Handle Cache
(comment
(str (ccp/-stats (:blaze.db/resource-handle-cache system)))
(.invalidateAll ^Cache (:blaze.db/resource-handle-cache system))
)

;; Transaction Cache
(comment
(str (ccp/-stats (:blaze.db/tx-cache system)))
Expand Down
7 changes: 0 additions & 7 deletions dev/blaze/dev/db.clj
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@
(.synchronous (.-cache (:blaze.db/resource-cache system))))


(defn ^Cache resource-handle-cache []
(:blaze.db/resource-handle-cache system))


(defn ^Cache tx-cache []
(:blaze.db/tx-cache system))

Expand All @@ -25,9 +21,6 @@
(.estimatedSize (resource-cache))
(.invalidateAll (resource-cache))

(.estimatedSize (resource-handle-cache))
(.invalidateAll (resource-handle-cache))

(.estimatedSize (tx-cache))
(.invalidateAll (tx-cache))
)
Loading

0 comments on commit 6f72982

Please sign in to comment.