Changeset 26848
- Timestamp:
- Feb 10, 2010, 3:24:51 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/magictool.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/magictool.c
r26185 r26848 874 874 875 875 // look for tree nodes that need to be processed 876 877 // first find incomplete magicRuns 876 878 query = pxDataGet("magictool_toprocess_runs.sql"); 877 879 if (!query) { … … 880 882 } 881 883 884 // we limit the query even though it is cheap (only magic_id is selected) 885 886 // XXX: if the first 1000 unfinished magicRuns have no ready nodes 887 // that haven't faulted, later runs won't get returned even though 888 // they have work to do. When we used a limit of 100 we actually ran 889 // into this problem. Since we're using labels a limit of 1000 will 890 // probably be ok. 882 891 { 883 psString limitString = psDBGenerateLimitSQL( 100 );892 psString limitString = psDBGenerateLimitSQL( 1000 ); 884 893 psStringAppend(&query, " %s", limitString); 885 894 psFree(limitString);
Note:
See TracChangeset
for help on using the changeset viewer.
