Discourse stuck with 504 Gateway Time-Out error and 100% CPU after rebuild

Sure. When can I know when it’s ready?