Index: sitescripts/reports/utils.py |
=================================================================== |
--- a/sitescripts/reports/utils.py |
+++ b/sitescripts/reports/utils.py |
@@ -25,17 +25,17 @@ def getReportSubscriptions(guid): |
#PFX#subscriptions ON (#PFX#sublists.list = #PFX#subscriptions.id) |
WHERE report = %s''', |
(guid)) |
rows = cursor.fetchall() |
cursor.close() |
return rows |
def getReports(startTime): |
- count = 1000 |
+ count = 10000 |
offset = 0 |
while True: |
cursor = get_db().cursor(MySQLdb.cursors.DictCursor) |
executeQuery(cursor, |
'''SELECT guid, type, UNIX_TIMESTAMP(ctime) AS ctime, status, site, contact, |
comment, hasscreenshot, knownissues |
FROM #PFX#reports WHERE ctime >= FROM_UNIXTIME(%s) LIMIT %s OFFSET %s''', |
(startTime, count, offset)) |