FuelLabs / FuelLabs/faucet

Request queue management

Open
#27 0 comments 0 reactions 0 assignees View on GitHub
bug enhancement
Dominant language
Rust
Stars
75
Forks
19
Avg merge
3h 14m
Merged PRs (30d)
1

Description

Currently we rate limit dispensing to 20 events per minute. If the amount of request exceeds that, the rest of the requests are queued. In the current implementation, the user is not shown any indication of this, and the website simply seems to do nothing. We should at least show the user that they are in queue to receive the tokens. Since we know how long the queue is, that could be displayed as well. However, we likely shouldn't let the queue to grow too large, since the browser will timeout the request if it's waiting too long for a response, typically after 1-3 minutes.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.