Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Releases: zalando-incubator/perron

Retry with exponential backoff

17 Oct 14:37
Compare
Choose a tag to compare
Pre-release
Merge pull request #33 from Joneser/master

Add retry logic to requests

Network timing

08 Jun 07:45
Compare
Choose a tag to compare
Network timing Pre-release
Pre-release

This release adds support for recording request timings:

client.request({ timing: true }).then(response => {
    console.log(response.timings);
    /* {
           socket: 10,
           lookup: 30,
           connect: 60,
           response: 100,
           end: 150
      } */
    console.log(response.timingPhases);
    /* {
           wait: 10,
           dns: 20,
           tcp: 30,
           firstByte: 40,
           download: 50,
           total: 150
      } */
})

Request timeout

29 May 12:43
Compare
Choose a tag to compare
Request timeout Pre-release
Pre-release

Added socket timeout and dropRequestAfter options for controlling timeouts and aborting requests upon reaching those tiemeouts.

Convenience Release

17 May 11:35
Compare
Choose a tag to compare
Convenience Release Pre-release
Pre-release

This release is mostly focused on internal cleanup, but also contains change to allow to specify default params for the request when constructing the client.