Coverage for src/constant.py: 100%
5 statements
« prev ^ index » next coverage.py v7.3.1, created at 2023-09-22 17:59 +0530
« prev ^ index » next coverage.py v7.3.1, created at 2023-09-22 17:59 +0530
1"""Useful constants."""
2FLUSH_BUFFER = 1000 # Chunk of docs to flush in temp file
3CONNECTION_TIMEOUT = 120
4TIMES_TO_TRY = 3
5RETRY_DELAY = 60
6META_FIELDS = ["_id", "_index", "_score"]