https://forge.softwareheritage.org/source/swh-scheduler.git
Revision ecab745a5f2089c7da1546885bc52557fdc904d7 authored by Nicolas Dandrimont on 11 February 2021, 18:16:19 UTC, committed by Nicolas Dandrimont on 11 February 2021, 18:39:29 UTC
psycopg2.extras.execute_values executes queries in batches of 100 by
default. At the end of execute_values, only the last batch of results is
available in the cursor; To fetch all results, one needs to set
fetch=True instead of using the cursor.
1 parent 86ada44
History
Tip revision: ecab745a5f2089c7da1546885bc52557fdc904d7 authored by Nicolas Dandrimont on 11 February 2021, 18:16:19 UTC
Make origin_visit_stats_get return results from all pages
Tip revision: ecab745
File Mode Size
updates
.gitignore -rw-r--r-- 36 bytes
Makefile -rw-r--r-- 1.5 KB

back to top