StackStorm/st2

Retry logic for 'st2client' and 'st2 pack'

Open

#3257 opened on Feb 27, 2017

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Python (5,794 stars) (740 forks)batch import
enhancementgood first issue

Description

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

Contributor guide