Allow pillarsdk to retry calls to Pillar #48895

Closed
opened 2016-07-19 16:17:45 +02:00 by Sybren A. Stüvel · 3 comments

If Pillar goes down (for example during an upgrade), any active calls from Pillar-Web fail, and are not retried. We could use the built-in ability of Requests to retry calls (as we use in our communication with Blender ID).

This will probably also be useful for the Blender Cloud addon. Care should be taken that it plays nicely with the client-side caching that addon performs, as the addon also uses its own Requests session objects.

If Pillar goes down (for example during an upgrade), any active calls from Pillar-Web fail, and are not retried. We could use the built-in ability of Requests to retry calls (as we use in our [communication with Blender ID](https://developer.blender.org/diffusion/PS/browse/master/pillar/application/modules/blender_id.py;a248e3285c849eca2a6032a2cbef26cb595607be$166)). This will probably also be useful for the Blender Cloud addon. Care should be taken that it plays nicely with the client-side caching that addon performs, as the addon also uses its own Requests session objects.

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @dr.sybren

Added subscriber: @dr.sybren

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: archive/pillar#48895
No description provided.