Title: Rate limit with Bucket4j and Caffeine not working via Java configuration · Issue #128 · HawAPI/HawAPI · GitHub
Open Graph Title: Rate limit with Bucket4j and Caffeine not working via Java configuration · Issue #128 · HawAPI/HawAPI
X Title: Rate limit with Bucket4j and Caffeine not working via Java configuration · Issue #128 · HawAPI/HawAPI
Description: Description Bucket4j is not working when configuring Caffeine cache using the current CacheConfig. Alternatively, both expireAfterWrite and expireAfterAccess doesn't work when configuring using application.properties. For now, i'll rever...
Open Graph Description: Description Bucket4j is not working when configuring Caffeine cache using the current CacheConfig. Alternatively, both expireAfterWrite and expireAfterAccess doesn't work when configuring using app...
X Description: Description Bucket4j is not working when configuring Caffeine cache using the current CacheConfig. Alternatively, both expireAfterWrite and expireAfterAccess doesn't work when configuring using...
Opengraph URL: https://github.com/HawAPI/HawAPI/issues/128
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Rate limit with Bucket4j and Caffeine not working via Java configuration","articleBody":"### Description\r\n\r\nBucket4j is not working when configuring Caffeine cache using the current [CacheConfig](https://github.com/HawAPI/HawAPI/blob/e3d59cec744aaff9fe21ab3ccdc6d79d947e6959/src/main/java/com/lucasjosino/hawapi/configs/CacheConfig.java).\r\n\r\nAlternatively, both `expireAfterWrite` and `expireAfterAccess` doesn't work when configuring using application.properties.\r\n\r\n**For now, i'll revert commit e56e19755c694889c69c2526abc21f683a32f08a and comeback to this issue after Upgrade to Spring Boot 3 (#127)** ","author":{"url":"https://github.com/LucJosin","@type":"Person","name":"LucJosin"},"datePublished":"2023-10-31T13:38:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/128/HawAPI/issues/128"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:81556f14-ee1a-2c57-cf4a-7d6b79b96462 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A3C8:D6BAD:61931CE:848B67C:697389F2 |
| html-safe-nonce | 4eb1350d19374818b3d80a6e715763def3fef1d2f5b55dca1a05fa8b6a4057d9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBM0M4OkQ2QkFEOjYxOTMxQ0U6ODQ4QjY3Qzo2OTczODlGMiIsInZpc2l0b3JfaWQiOiI2ODkxNTQ3MzE2MjQyODQ0MTQ2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a08efab019556b6c8c1fa1e2646e86e443fd13ed7bc66af0538714f09c4a5b6f |
| hovercard-subject-tag | issue:1970495947 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/HawAPI/HawAPI/128/issue_layout |
| twitter:image | https://opengraph.githubassets.com/892930980197c8d8aa612166fe0c5f86539af718f801359a10c4fa6d38aa1acd/HawAPI/HawAPI/issues/128 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/892930980197c8d8aa612166fe0c5f86539af718f801359a10c4fa6d38aa1acd/HawAPI/HawAPI/issues/128 |
| og:image:alt | Description Bucket4j is not working when configuring Caffeine cache using the current CacheConfig. Alternatively, both expireAfterWrite and expireAfterAccess doesn't work when configuring using app... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | LucJosin |
| hostname | github.com |
| expected-hostname | github.com |
| None | f0b5e2d1da32de5a0b7bcfbc5ba007c93e8e63098fba29e1200efb674aa72e66 |
| turbo-cache-control | no-preview |
| go-import | github.com/HawAPI/HawAPI git https://github.com/HawAPI/HawAPI.git |
| octolytics-dimension-user_id | 115194489 |
| octolytics-dimension-user_login | HawAPI |
| octolytics-dimension-repository_id | 566830817 |
| octolytics-dimension-repository_nwo | HawAPI/HawAPI |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 566830817 |
| octolytics-dimension-repository_network_root_nwo | HawAPI/HawAPI |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c96653671324f9b6d4c5f787435acf56a06087dd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width