Skip to content

Keyv isn't fast enough for concurrent requests #4

@AlmostEfficient

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.

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