mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
convert ES_TIMEOUT to int
This commit is contained in:
parent
e9527bb5ad
commit
6d6d34e94e
1 changed files with 1 additions and 1 deletions
|
|
@ -318,7 +318,7 @@ async def main():
|
|||
# Scan API for larger library
|
||||
docs = async_scan(es_client, index=ES_INDEX, query=query,
|
||||
preserve_order=True, size=ES_SCAN_SIZE,
|
||||
request_timeout=ES_TIMEOUT, scroll=ES_SCROLL_TIME)
|
||||
request_timeout=int(ES_TIMEOUT), scroll=ES_SCROLL_TIME)
|
||||
|
||||
# convert _id to uuid
|
||||
async for doc in docs:
|
||||
|
|
|
|||
Loading…
Reference in a new issue