~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/services/looptuner.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2012-01-06 12:11:50 UTC
  • mfrom: (14625.2.7 gina-dsc-binaries)
  • Revision ID: launchpad@pqm.canonical.com-20120106121150-e0bucmb5qeyytnn9
[r=wgrant][bug=911943] Fix SourcePackageReleaseDscBinariesUpdater:
        round chunk_size to int (and document this issue).

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
        The chunk_size parameter says (in some way you define) how much work
50
50
        the LoopTuner believes you should try to do in this iteration in order
51
51
        to get as close as possible to your time goal.
 
52
 
 
53
        Note that chunk_size is a float, so, for example, if you use it to
 
54
        slice a list, be careful to round it to an int first.
52
55
        """
53
56
 
54
57
    def cleanUp(self):