forked from OpenNeo/impress
Emi Matchu
470c805880
In impress-2020, we do a big slow query to figure out which users have
been active in trades recently. Now, we cache that timestamp on the
User model.
This won't have any immediate effect; it's to clear the way for Classic
DTI to receive the better trade ratios feature people like from 2020.
I also added some unit testing infra because I finally wanted it! for
all the ways you can trigger this timestamp lol
Note too that this is a bit of an unusually complex migration, but my
hope is that the batching and query structure and such helps it run
surprisingly fast! 🤞
|
||
---|---|---|
.. | ||
application_controller_renderer.rb | ||
asset_hosts.rb | ||
assets.rb | ||
attack.rb | ||
backtrace_silencers.rb | ||
content_security_policy.rb | ||
cookies_serializer.rb | ||
devise.rb | ||
filter_parameter_logging.rb | ||
inflections.rb | ||
locale_meta.rb | ||
mime_types.rb | ||
permissions_policy.rb | ||
rack_mini_profiler.rb | ||
rspec_generator.rb | ||
secret_token.rb | ||
sentry.rb | ||
session_store.rb | ||
stripe.rb | ||
wrap_parameters.rb |