Skip to content

The timeout property is not used anywhere in the code? #12

@vivere-dally

Description

@vivere-dally

I see that we can set the timeout, but I don't see it being used anywhere while making the requests? There is no reference to this._timeout, and the axios always has the same config set:

        let requestConfig: axios.AxiosRequestConfig = {
            url,
            method: 'GET',
            baseURL: this._basePath,
            headers,
            params: queryParams,
            timeout: 90 * 1000, // <-- shouldn't this use this._timeout?
            responseType: 'json',
        }

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