Just to share,
Disabling JIT on the PostgreSQL running the Prefect DB, significantly reduces peak load on the database (see screenshot).
I ran the Prefect DB with pg_stat_statements to identify where our timeout issues came from. A query starting with
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.