Skip to content

rest_framework.throttling sets invalid key for memcached. #2400

Closed
@amrael

Description

@amrael

I stumbled upon an error, "error 9 from memcached_set: SUCCESS" and it turned out that DRF creates invalid key for throttling such as :1:throttle_anon_153.191.xxx.xxx, 107.178.xxx.xxx. memcached cannot have keys containing space so I assume this is a bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions