~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/translations/model/translationtemplatesbuildjob.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2010-08-25 15:42:03 UTC
  • mfrom: (11435.2.2 bug-623865)
  • Revision ID: launchpad@pqm.canonical.com-20100825154203-lj5ebgpa8pw83vp7
[r=bigjools][ui=none][bug=623865] Raise TranslationTemplatesBuildJob
        priority.

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
 
70
70
    def score(self):
71
71
        """See `IBuildFarmJob`."""
72
 
        # Hard-code score for now; anything other than 1000 is probably
73
 
        # inappropriate.
74
 
        return 1000
 
72
        # Hard-code score for now.  Most PPA jobs start out at 2505;
 
73
        # TranslationTemplateBuildJobs are fast so we want them at a
 
74
        # higher priority.
 
75
        return 2510
75
76
 
76
77
    def getLogFileName(self):
77
78
        """See `IBuildFarmJob`."""