StackStorm/st2

Retry logic for 'st2client' and 'st2 pack'

开放

#3,257 创建于 2017年2月27日

 (0 条评论) (0 个反应) (0 位负责人)Python (740 个派生)batch import
enhancementgood first issue

仓库指标

星标
 (5,794 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Improvement from the https://github.com/StackStorm/st2-packages/issues/429

Most of the networking-related logic needs retrying mechanism. This is a rule of dumb in any package manager/client since in reality failures occur pretty frequently.

StackStorm shouldn't be an exception in following more reliable strategy.

TODO

  1. Add retry, timeout, delay-on-retry logic to st2client httpclient
  2. st2 pack retry logic for git cloning and any networking-related requests.

Resources

贡献者指南