Sam Saffron 708dd97dfd
PERF: speed up migrations on multisite
Previously we were migrating multisites serially, this is extremely slow
especially when 200 dbs are involved.

The new implementation defaults to running 20 migrations concurrently, leading
to a 20x speedup.

We also amended it so errors are printed out last, something that makes
debugging failures easier.

This is code specific to Discourse cause we integrate SeedFu with our
migrations and can not include this in the multisite gem.
2020-04-09 11:58:20 +10:00
..
2020-04-09 11:58:20 +10:00
2019-05-13 09:55:44 +08:00
2019-10-21 12:08:20 +01:00
2019-12-05 11:53:10 -05:00
2019-08-01 09:12:05 +01:00