Commit Graph

9 Commits

Author SHA1 Message Date
Bryan Stitt 2b814e7a4d serialize the caches on /status 2023-06-07 10:48:55 -07:00
Bryan Stitt cebe8ed1ea
Request refactor (#99)
* wip

* AsRef finally works like i wanted

* actually return the block

* start adding async trait

* remove stale import

* include id in the error response when possible

* remove stale comments
2023-05-30 16:32:34 -07:00
Bryan Stitt c1eba556a5 fix missing ttl send and add name to cache 2023-05-29 17:19:05 -07:00
Bryan Stitt bb50efb7f9
quick cache ttl max item size, better function names, and tests (#97)
* Revert "remove cache on /status and /health for now"

This reverts commit 166b0d810c.

* Revert "remove cache on backups needed, too"

This reverts commit 4597967def.

* add tests

* add max_item_weight

* comment

* add some helper functions, max weights, and tests
2023-05-29 15:48:22 -07:00
Bryan Stitt 9e935e2c44 cargo upgrade 2023-05-29 09:43:51 -07:00
Bryan Stitt b61675e928 replace all moka with quick_cache_ttl 2023-05-18 13:34:22 -07:00
Bryan Stitt f4cebde53f use ttl quick cache 2023-05-16 14:46:05 -07:00
Bryan Stitt b204a1f8ca kqcache too 2023-05-14 16:25:58 -07:00
Bryan Stitt 9621cfdccd add quick cache wrapper for ttl expiration 2023-05-13 16:28:27 -07:00