increase size of es results when checking for existing data (#8966)

This commit is contained in:
Teddy 2022-11-23 10:44:24 +01:00 committed by GitHub
parent 0a570c8585
commit b8d99fc275
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -160,6 +160,7 @@ class DataInsightWorkflow:
gte = get_beginning_of_day_timestamp_mill()
lte = get_end_of_day_timestamp_mill()
query = {
"size": 1000,
"query": {
"range": {
"timestamp": {
@ -167,7 +168,7 @@ class DataInsightWorkflow:
"lte": lte,
}
}
}
},
}
data = self.es_sink.read_records(index, query)
try: