Skip to content

Rate limits incorrect behaviour #1

@kushsharma2910

Description

@kushsharma2910

Though the public requests are said to have 20 requests per second limit, I observe the following when I call get order book public request.

On the left is the time epoch of the response. As you can see within a second, it keeps switching between 429 and 200 response code.

1671442047.165807 Update ob response code = 200
1671442047.3440382 Update ob response code = 200
1671442048.012679 Update ob response code = 429
1671442048.0583665 Update ob response code = 200 <== Assuming 1 sec window starts here as I got first 200 after 429
1671442048.0742612 Update ob response code = 429 <== It shouldn't respond with 429 again within the second window
1671442048.354246 Update ob response code = 429
1671442049.002452 Update ob response code = 429
1671442049.1374915 Update ob response code = 200
1671442049.3620355 Update ob response code = 200
1671442049.952536 Update ob response code = 429
1671442049.9685616 Update ob response code = 429

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