
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
redis-throttled-queue
Advanced tools
Queue system with key-based throttling implemented over Redis.
::
pip install redis-throttled-queue
You can also install the in-development version with::
pip install https://github.com/ionelmc/python-redis-throttled-queue/archive/main.zip
https://python-redis-throttled-queue.readthedocs.io/
To run all the tests run::
tox
Note, to combine the coverage data from all the tox environments run:
.. list-table:: :widths: 10 90 :stub-columns: 1
- - Windows
- ::
set PYTEST_ADDOPTS=--cov-append
tox
- - Other
- ::
PYTEST_ADDOPTS=--cov-append tox
pop()
code to avoid the expensive scan operations.
The '...:names
key is now a sorted set and will be used as a template for the usage keys ('...:usage:<window>'
).Added support in a AsyncThrottledQueue
class that only differs a bit from the regular ThrottledQueue
:
__len__
is removed, instead a awaitable size()
method is available.__init__
doesn't validate version anymore, instead you can await on validate_version()
.push()
, pull()
and cleanup()
are awaitable.Added a validate_version
argument to ThrottledQueue
(default: True
).
pop
script.cleanup()
when db is completely empty.last_activity
and idle_seconds
attributes.cleanup()
method.Renamed attributes (should be safe to mess with):
_limit
becomes limit
._resolution
becomes resolution
.pop(window)
using any window value (str/bytes/int recommended tho).__len__
(was returning a string).FAQs
Queue system with key-based throttling implemented over Redis.
We found that redis-throttled-queue demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.