diff --git a/omeroweb/webgateway/views.py b/omeroweb/webgateway/views.py index 05d37c2a24..90d0233c90 100644 --- a/omeroweb/webgateway/views.py +++ b/omeroweb/webgateway/views.py @@ -3008,7 +3008,7 @@ def perform_table_query( def row_generator(table, h): # hits are all consecutive rows - can load them in batches idx = 0 - batch = 1000 + batch = settings.MAX_TABLE_DOWNLOAD_ROWS while idx < len(h): batch = min(batch, len(h) - idx) res = table.slice(col_indices, h[idx : idx + batch])