Added timeout property
This commit is contained in:
parent
5c2e19b801
commit
cd9cb714cd
@ -10,6 +10,8 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from oslo.config import cfg
|
||||
|
||||
|
||||
class Action(object):
|
||||
'''
|
||||
@ -26,6 +28,10 @@ class Action(object):
|
||||
# the context should contain a request ID
|
||||
self.request_id = context['request_id']
|
||||
|
||||
# TODO: make action timeout configurable
|
||||
# heat.common.default_action_timeout
|
||||
self.timeout = cfg.CONF.default_action_timeout
|
||||
|
||||
def execute(self, **kwargs):
|
||||
return NotImplemented
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user