1
0
Fork 0
forked from OpenNeo/impress
impress/app/models
Emi Matchu 2cac048158 Save manifest load info when preloading them, too
This was a bit tricky! When I initially turned it on, running
`rails swf_assets:manifests:load` would trigger database errors of "oh
no we can't get a connection from the pool!", because too many records
were trying to concurrently save at once.

So now, we give ourselves the ability to say `save_changes: false`, and
then save them all in one batch after! That way, we're still saving by
default in the edge cases where we're downloading and saving a manifest
on the fly, but batching them in cases where we're likely to be dealing
with a lot of them!
2024-02-25 16:02:36 -08:00
..
fundraising Move fundraising models into the Fundraising module 2024-02-18 20:29:31 -08:00
item Oops, fix remaining references to locale in item search 2024-02-25 15:00:22 -08:00
alt_style.rb Update SwfAsset#image_url to use all the latest tech 2024-02-24 16:12:02 -08:00
application_record.rb Upgrade to Rails 5.2.8.1 2023-10-23 19:05:05 -07:00
auth_record.rb Add AuthUser model, connecting to openneo_id db 2023-10-23 19:05:07 -07:00
auth_user.rb Clarify the error behavior on AuthUser syncing 2023-10-23 19:05:08 -07:00
closet_hanger.rb High-level caching for closet lists 2024-02-20 18:43:39 -08:00
closet_list.rb Migrate away from item translations in the Your Items feature 2024-02-20 15:36:20 -08:00
closet_visibility.rb Delete a couple unused accessors 2023-11-11 15:42:08 -08:00
color.rb Fully disable model translations for Color/Species/Zone 2024-02-03 08:13:14 -08:00
contribution.rb Track contributions of Alt Styles 2024-01-24 03:54:43 -08:00
item.rb Oops, fix remaining references to locale in item search 2024-02-25 15:00:22 -08:00
item_outfit_relationship.rb Oops, update outfit's updated_at when adding/removing items 2024-02-08 10:32:53 -08:00
neopets_connection.rb Upgrade to Rails 5.2.8.1 2023-10-23 19:05:05 -07:00
neopets_page.rb Update most URLs to use HTTPS 2023-10-25 15:22:57 -07:00
outfit.rb Refactor Impress 2020 config 2024-02-22 13:07:43 -08:00
parent_swf_asset_relationship.rb Upgrade to Rails 5.2.8.1 2023-10-23 19:05:05 -07:00
pet.rb Allow modeling pets for colors we haven't gotten metadata for yet 2024-02-16 23:28:10 -08:00
pet_state.rb Remove logic to auto-detect Unconverted pets (fixes Baby Pteri bug) 2024-02-01 01:40:50 -08:00
pet_type.rb Start working on new item search in wardrobe-2020! 2024-02-25 14:46:27 -08:00
species.rb Fully disable model translations for Color/Species/Zone 2024-02-03 08:13:14 -08:00
swf_asset.rb Save manifest load info when preloading them, too 2024-02-25 16:02:36 -08:00
user.rb Oops, load the data for the bulk item quantity form on the trades page! 2024-01-21 06:42:24 -08:00
zone.rb Add useItemSearch for wardrobe app, but don't use it yet! 2024-02-25 12:06:32 -08:00