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
_static
_templates
.gitignore -rw-r--r-- 24 bytes
Makefile -rw-r--r-- 39 bytes
cli.rst -rw-r--r-- 887 bytes
conf.py -rw-r--r-- 43 bytes
index.rst -rw-r--r-- 5.4 KB
simulator.rst -rw-r--r-- 3.0 KB

back to top