PERF: Disable Sidekiq only during database restore (PR #10857)

:construction_worker: WIP: Specs aren’t done yet.

It pauses Sidekiq, clears Redis and unpauses Sidekiq right away. Redis is cleared because we don’t want any old data lying around (e.g. old Sidekiq jobs).

GitHub

The title of this pull request changed from “PERF: Disable Sidekiq only for a short amount of time during restore” to "PERF: Disable Sidekiq only during database restore

Looks good!