StackStorm/st2

Retry logic for 'st2client' and 'st2 pack'

Aperta

#3257 aperta il 27 feb 2017

 (0 commenti) (0 reazioni) (0 assegnatari)Python (740 fork)batch import
enhancementgood first issue

Metriche repository

Star
 (5794 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor