1
0
Fork 0
forked from OpenNeo/impress
impress/lib/tasks
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
..
.gitkeep rails 3 2010-05-14 18:12:31 -04:00
pets.rake Add rake task to load pet data 2024-01-24 00:51:37 -08:00
swf_assets.rake Save manifest load info when preloading them, too 2024-02-25 16:02:36 -08:00