You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The easiest upgrade path for other projects using Tilt::Cache, would be to copy the code from Tilt and use it, though projects should really switch to something better. I deprecated Tilt::Cache not just because Tilt didn't use it internally, but also because it is not thread safe and has other issues. See Tilt::Cache's documentation for why it may be a bad idea to use it: https://github.com/jeremyevans/tilt/blob/v2.3.0/lib/tilt.rb#L100-L108
If you want the cache to be thread-safe (especially important on JRuby/TruffleRuby), then something like RodaCache with an added fetch method (made thread-safe) seems like the best approach.
Originally posted by @dentarg in #1922 (comment)
The text was updated successfully, but these errors were encountered: