OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 syntax = "proto3"; |
| 6 |
| 7 package jobsim; |
| 8 |
| 9 // Config is ONLY for testing purposes in dm/service. However, because of the |
| 10 // way that the distributor proto works it needs to be included in the main |
| 11 // distributor.proto file. For consistency, this jobsim proto lives here. |
| 12 message Config { |
| 13 // Pool specifies the unique 'pool' name for this jobsim configuration. This |
| 14 // will be used to namespace jobsim objects in the datastore, and can be used |
| 15 // to demonstrate cross-distributor dependencies (by having one pool's jobs |
| 16 // depend on another pool's results). |
| 17 string pool = 1; |
| 18 |
| 19 // DoPollback controls whether or not this configuration will force DM to |
| 20 // poll back when recieving a HandleNotification. If this is true, then |
| 21 // HandleNotification will return (nil, nil), and DM will call GetStatus |
| 22 // at some later point. If this is false, then HandleNotification will |
| 23 // directly return the job's status. |
| 24 bool do_pollback = 2; |
| 25 } |
OLD | NEW |