I have a suggestion for a code change to the sample_work_generator. In the main_loop function, change the line:
retval = count_unsent_results(n,0); to retval = count_unsent_results(n,app.id); That, add a comment to explain that "0" means the total of all results and to use a specific app id if you want to assure that the feeder will have work from all the applications. Otherwise, when someone like me uses the sample as a template to create their own, they end up with it tracking only the total results instead of the results per app id. Clients kept getting "no tasks" when I knew the generator was running and the cushion was set at 1000. It turned out that one app had 1000 and the other two apps had 0. Changing the line above fixed it. Jon Sonntag _______________________________________________ boinc_dev mailing list [email protected] http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev To unsubscribe, visit the above URL and (near bottom of page) enter your email address.
