Project

General

Profile

« Previous | Next » 

Revision 7004

FOR TESTING ONLY: limit number of records to 100 so that we can get an estimate

View differences:

src/edu/ucsb/nceas/metacat/admin/upgrade/dataone/GenerateSystemMetadata.java
103 103
            List<String> idList = DBUtil.getAllDocidsByType(null, true, serverLocation);
104 104
            Collections.sort(idList);
105 105
            
106
            // for testing, subset to a limited number
107
            idList = idList.subList(0, Math.min(idList.size(), 100));
108
            
106 109
            // executor
107 110
            int availableProcessors = Runtime.getRuntime().availableProcessors();
108 111
            int nThreads = availableProcessors * 1;

Also available in: Unified diff