[open-ils-commits] r12486 - trunk/Open-ILS/xul/staff_client/chrome/content/util (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Mar 11 01:06:35 EDT 2009


Author: phasefx
Date: 2009-03-11 01:06:32 -0400 (Wed, 11 Mar 2009)
New Revision: 12486

Modified:
   trunk/Open-ILS/xul/staff_client/chrome/content/util/exec.js
Log:
forgot to decrement a counter for the chunk size.. since performance was pretty spiffy with the bug, this probably argues for using larger chunk sizes

Modified: trunk/Open-ILS/xul/staff_client/chrome/content/util/exec.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/util/exec.js	2009-03-10 16:46:11 UTC (rev 12485)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/util/exec.js	2009-03-11 05:06:32 UTC (rev 12486)
@@ -17,7 +17,7 @@
             function() {
                 var i = obj.chunk_size;
                 while (funcs.length > 0 && i > 0) {
-                    funcs.shift()();
+                    funcs.shift()(); i--;
                 }
             },
             interval



More information about the open-ils-commits mailing list