1
0
Fork 0
forked from OpenNeo/impress
impress/config/environments
Emi Matchu 470c805880 Save last trade activity time onto User
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! 🤞
2024-01-19 00:00:46 -08:00
..
development.rb Disable some unused Rails features 2023-11-11 15:12:41 -08:00
production.rb Disable some unused Rails features 2023-11-11 15:12:41 -08:00
remote_development.rb handle contribution for now-unused swf 2010-11-15 16:44:57 -05:00
test.rb Save last trade activity time onto User 2024-01-19 00:00:46 -08:00