Skip to content
This repository was archived by the owner on Apr 29, 2026. It is now read-only.
This repository was archived by the owner on Apr 29, 2026. It is now read-only.

Keyv isn't fast enough for concurrent requests #4

Description

@AlmostEfficient

Area
Making concurrent requests with /faucet and setting 'lastTx' in Keyv (index.js)

Expected behaviour
Every request after the first is told to wait for 15s to make a new request.

Actual behaviour
A few requests right after the first aren't stopped by the lastTx time check. This is because Keyv hasn't set lastTx yet.

Need to either use Redis or just do this in memory. Will explore options.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions