lib/roda/plugins/per_thread_caching.rb in roda-2.28.0 vs lib/roda/plugins/per_thread_caching.rb in roda-2.29.0

- old
+ new

@@ -1,9 +1,11 @@ # frozen-string-literal: true # class Roda module RodaPlugins + warn "The per_thread_caching plugin is deprecated and will be removed in Roda 3. Consider maintaining the plugin as a separate gem if you would like to keep using it." + # The per_thread_caching plugin changes the default cache # from being a shared thread safe cache to a separate cache per # thread. This means getting or setting values no longer # needs a mutex, which may be faster when using a thread pool. # However, since the caches are no longer shared, this will