pgsync
pgsync copied to clipboard
Timeout env var ignored if ELASTICSEARCH_AWS_HOSTED=True
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
You are right. I don't have anymore AWS credits. Can you possibly try this out and create a MR please.