Skip to content

Hystrix http client - Unit missing in configuration #143

@aaditya-khetan

Description

@aaditya-khetan
  • The hystrix client uses SleepWindow config in integer instead of time.Duration field - https://github.com/gojek/heimdall/blob/master/hystrix/hystrix_client.go#L29
  • This leads to confusion whether this value is expected in seconds or milliseconds.
  • Moreover, there is no documentation mentioning the expected unit either in readme or in code comments which leds to a lot of back and forth in integrating and successfully testing the CB configs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions