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

Side by Side Diff: appengine/swarming/server/task_scheduler.py

Issue 2013943002: Changing license header, again! (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: Fixed third parties Created 4 years, 6 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
OLDNEW
1 # Copyright 2014 The LUCI Authors. All rights reserved. 1 # Copyright 2014 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 under the Apache License, Version 2.0
3 # found in the LICENSE file. 3 # that can be found in the LICENSE file.
4 4
5 """High level tasks execution scheduling API. 5 """High level tasks execution scheduling API.
6 6
7 This is the interface closest to the HTTP handlers. 7 This is the interface closest to the HTTP handlers.
8 """ 8 """
9 9
10 import contextlib 10 import contextlib
11 import datetime 11 import datetime
12 import logging 12 import logging
13 import math 13 import math
(...skipping 878 matching lines...) Expand 10 before | Expand all | Expand 10 after
892 ## Task queue tasks. 892 ## Task queue tasks.
893 893
894 894
895 def task_handle_pubsub_task(payload): 895 def task_handle_pubsub_task(payload):
896 """Handles task enqueued by _maybe_pubsub_notify_via_tq.""" 896 """Handles task enqueued by _maybe_pubsub_notify_via_tq."""
897 # Do not catch errors to trigger task queue task retry. Errors should not 897 # Do not catch errors to trigger task queue task retry. Errors should not
898 # happen in normal case. 898 # happen in normal case.
899 _pubsub_notify( 899 _pubsub_notify(
900 payload['task_id'], payload['topic'], 900 payload['task_id'], payload['topic'],
901 payload['auth_token'], payload['userdata']) 901 payload['auth_token'], payload['userdata'])
OLDNEW
« no previous file with comments | « appengine/swarming/server/task_result_test.py ('k') | appengine/swarming/server/task_scheduler_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698