From: schmiddy (@schmiddy) <noreply+schmiddy@github.com>
To: reorg/pg_repack <noreply+reorg-pg_repack@github.com>
Subject: Re: [reorg/pg_repack] PR #183: Add options for lock statement timeout
Date: Wed, 06 Jun 2018 13:39:23 +0000
Message-ID: <gh-reorg-pg_repack-183-c395071639@github.com> (raw)
In-Reply-To: <gh-reorg-pg_repack-183@github.com>
References: <gh-reorg-pg_repack-183@github.com>
Thanks, I think a configurable `lock_wait_max` is useful. I'm less enthused about adding yet another option for `--lock-wait-step`, this seems like something we should be able to guesstimate on our own, without contributing to the explosion of command-line options.
What if we just had the lock wait step be 10% of the `lock_wait_max`, with some minimum like 100 ms.