pgsync icon indicating copy to clipboard operation
pgsync copied to clipboard

Timeout env var ignored if ELASTICSEARCH_AWS_HOSTED=True

Open voyc-jean opened this issue 4 years ago • 1 comments

PGSync version: 3.1.5 Python version: 3.8.10

Problem Description:

If the ELASTICSEARCH_AWS_HOSTED=True environment variable is set, the ELASTICSEARCH_TIMEOUT is no longer respected.

The timeout parameter isn't provided to the Elasticsearch client:

https://github.com/toluaina/pgsync/blob/21bd0c5fd08090c3f0535b0f7f7d025d614c2b5e/pgsync/elastichelper.py#L255

voyc-jean avatar Sep 28 '21 18:09 voyc-jean

You are right. I don't have anymore AWS credits. Can you possibly try this out and create a MR please.

toluaina avatar Oct 07 '21 20:10 toluaina