--- a/scripts/stats.py Mon Apr 20 22:51:48 2009 +0000
+++ b/scripts/stats.py Mon Apr 20 22:52:05 2009 +0000
@@ -218,6 +218,8 @@
proposals = proposal_logic.getProposalsToBeAcceptedForOrg(org)
+ print "accepting %d proposals, with %d slots" % (len(proposals), org.slots)
+
for proposal in proposals:
fields = {
'link_id': 't%i' % (int(time.time()*100)),
@@ -244,7 +246,7 @@
}
querygen = lambda: proposal_logic.getQueryForFields(fields)
- proposals = [i for i in interactive.deepFetch(querygen)]
+ proposals = [i for i in interactive.deepFetch(querygen, batchSize=10)]
print "rejecting %d proposals" % len(proposals)