Skip to content

Infinite loop in Initialise() method if server is not reachable. #4

@tomasr78

Description

@tomasr78

Guys, I cannot believe that I just find out in your source files. You use while loop in ConfigurationManager.Initialise()

while (status != HttpStatusCode.OK)

Do you know what consequences this cause? The application hangs if no connection to LogDNA or LogDNA server is down like we have today.

You must add retry counts and don't use just pure while infinite loop!

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