From 45531ebbbc239a0f6ebf3a27b00c5b9b134a3808 Mon Sep 17 00:00:00 2001
From: Boris Ponsioen <b.g.t.ponsioen@uva.nl>
Date: Tue, 20 Feb 2018 16:17:07 +0100
Subject: [PATCH] Reduces batch size in metacore cf pull

---
 metacore/services.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/metacore/services.py b/metacore/services.py
index e899f9ffd..059032b0c 100644
--- a/metacore/services.py
+++ b/metacore/services.py
@@ -19,8 +19,8 @@ def get_crossref_test():
     # cursor = 'AoJ2/dSFrt8CPxFodHRwOi8vZHguZG9pLm9yZy8xMC4xMTAzL3BoeXNyZXZsZXR0LjExMy4yMzY2MDM='
 
     # If the loop is allowed to complete, it fetches (rows * batches) records
-    rows = 1000
-    batches = 100
+    rows = 200
+    batches = 500
 
     for i in range(0,batches):
         print("Batch %s" % (i, ))
-- 
GitLab