Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(877)

Side by Side Diff: appengine/gce-backend/handlers_cron.py

Issue 1860863002: Update copyright notice from Swarming to LUCI; add AUTHORS and CONTRIBUTORS. (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: . Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « appengine/gce-backend/config_test.py ('k') | appengine/gce-backend/handlers_pubsub.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Swarming Authors. All rights reserved. 1 # Copyright 2015 The LUCI Authors. All rights reserved.
2 # Use of this source code is governed by the Apache v2.0 license that can be 2 # Use of this source code is governed by the Apache v2.0 license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """GCE Backend cron jobs.""" 5 """GCE Backend cron jobs."""
6 6
7 import collections 7 import collections
8 import json 8 import json
9 import logging 9 import logging
10 10
11 from google.appengine.api import app_identity 11 from google.appengine.api import app_identity
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 if group.current_size != group.target_size: 289 if group.current_size != group.target_size:
290 schedule_resize(group.key) 290 schedule_resize(group.key)
291 291
292 292
293 def create_cron_app(): 293 def create_cron_app():
294 return webapp2.WSGIApplication([ 294 return webapp2.WSGIApplication([
295 ('/internal/cron/process-instance-groups', InstanceGroupProcessor), 295 ('/internal/cron/process-instance-groups', InstanceGroupProcessor),
296 ('/internal/cron/process-instance-templates', InstanceTemplateProcessor), 296 ('/internal/cron/process-instance-templates', InstanceTemplateProcessor),
297 ('/internal/cron/resize-instance-groups', InstanceGroupResizer), 297 ('/internal/cron/resize-instance-groups', InstanceGroupResizer),
298 ]) 298 ])
OLDNEW
« no previous file with comments | « appengine/gce-backend/config_test.py ('k') | appengine/gce-backend/handlers_pubsub.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698