Imported images missing thumbnails, getting tombstoned

I’ve added a post.rebake! After the post.update in the import script. I don’t know if that’ll help.

Also, Bart’s copy of the database was taken before sidekiq had finished. It was meant to be a test that there wouldn’t be a problem with the restore. But my copy did leave sidekiq running. Could it be that images got tombstoned before sidekiq could process them?

(and if so, turning off having discobot send a message to every user imported is probably a good default.)

The real problem with the recover_from_tombstone rake task is that every image gets a linear search of the database.