Skip to content
Snippets Groups Projects
Commit 75f69514 authored by Benjamin Ledel's avatar Benjamin Ledel
Browse files

Update file views.py

parent 3b8de16b
No related branches found
No related tags found
No related merge requests found
Pipeline #1610817 passed
Pipeline: FIRST_START

#1610840

    ...@@ -508,7 +508,7 @@ class GetProviderData(APIView): ...@@ -508,7 +508,7 @@ class GetProviderData(APIView):
    print(f"Query constructed in {time.time() - query_start_time:.6f} seconds") print(f"Query constructed in {time.time() - query_start_time:.6f} seconds")
    execution_start = time.time() execution_start = time.time()
    cursor = collection.find(query).limit(page_size) cursor = collection.find(query).limit(page_size).batch_size(page_size)
    print(f"Query executed in {time.time() - execution_start:.6f} seconds") print(f"Query executed in {time.time() - execution_start:.6f} seconds")
    data_time = time.time() data_time = time.time()
    data = { data = {
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment