decreasing the limit for the import queries
authorAnthony Talarico <talarico@gaslightmedia.com>
Tue, 1 May 2018 17:01:08 +0000 (13:01 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Tue, 1 May 2018 17:01:08 +0000 (13:01 -0400)
models/admin/management/itemsImport.php

index bb7839c..7cd4776 100644 (file)
@@ -116,7 +116,7 @@ class GlmMembersAdmin_management_itemsImport
                 
                 $start = (isset($_REQUEST['start']) && $_REQUEST['start'] ) ? $_REQUEST['start'] : 0;
                 $url = get_site_url() . '/wp-admin/admin.php?page=glm-members-admin-menu-management&glm_action=itemsImport&option=importItems';
-                $limit = 50;
+                $limit = 35;
                 $resultMessage =  "<pre>Start: $start</pre>";
                 $start += $limit;
                 $resultMessage .= "<p><a class='next-import-btn' href=\"". $url . "&start=$start\">Next</a></p>";