details: https://code.openbravo.com/erp/devel/pi/rev/03190a39ef36 changeset: 35718:03190a39ef36 user: Asier Lostalé <asier.lostale <at> openbravo.com> date: Tue May 07 08:37:36 2019 +0200 summary: related to issue 40747: added comment to variable
diffstat: src/org/openbravo/service/importprocess/ImportEntryManager.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (22 lines): diff -r 3ad31745f63e -r 03190a39ef36 src/org/openbravo/service/importprocess/ImportEntryManager.java --- a/src/org/openbravo/service/importprocess/ImportEntryManager.java Fri May 03 14:06:11 2019 +0200 +++ b/src/org/openbravo/service/importprocess/ImportEntryManager.java Tue May 07 08:37:36 2019 +0200 @@ -153,6 +153,8 @@ // default to number of processors plus some additionals for the main threads private int numberOfThreads = Runtime.getRuntime().availableProcessors() + 3; + // used to determine the time to wait after each cycle before querying for new entries to be + // processed private int processingCapacityPerSecond; // defines the batch size of reading and processing import entries by the @@ -179,9 +181,7 @@ numberOfThreads, 4); maxTaskQueueSize = ImportProcessUtils.getCheckIntProperty(log, "import.max.task.queue.size", maxTaskQueueSize, 50); - managerWaitTime = ImportProcessUtils.getCheckIntProperty(log, "import.wait.time", 600, 1); - processingCapacityPerSecond = ImportProcessUtils.getCheckIntProperty(log, "import.processing.capacity.per.second", numberOfThreads * 30, 10); _______________________________________________ Openbravo-commits mailing list Openbravo-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbravo-commits