Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leptos 0.6 #8

Merged
merged 17 commits into from
Feb 5, 2024
Merged

Leptos 0.6 #8

merged 17 commits into from
Feb 5, 2024

Conversation

nicoburniske
Copy link
Member

@nicoburniske nicoburniske commented Feb 2, 2024

Aside from updating to latest Leptos/Axum, here are the other changes.

  • Remove lazy_static Arc<RwLock<HashMap<CachedImage, String>>> in favor of ImageOptimizer struct that contains Arc<Dashmap<CachedImage, String>>
  • Remove cache and introspect modules. Only dynamic caching at runtime is supported
  • Add semaphore to limit concurrent image processing requests. Image processing is extremely cpu intensive and without semaphore you can easily blow up your server.
  • Add trait for adding route to router. Still need to make the route configurable
  • Make route configurable
  • Make cache file path configurable
  • Add tracing
  • Add rust doc
  • Improve examples

@nicoburniske nicoburniske merged commit 2c2fc11 into main Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant