You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I failed to find the lock plugin in the Plugin dropdown for this Feature Request so i wrote it manually 😃
Plugin
Lock
I have an idea!
It would be awesome if the Lock Plugin supported other drivers like the KV Plugin does.
The configuration could look something like this:
lock:
driver: redisconfig: # The config would be up to the implementing plugin to parseretry_interval: 100client:
addrs:
- "${REDIS_HOST:-127.0.0.1}:${REDIS_PORT:-6379}"username: "${REDIS_USERNAME}"password: "${REDIS_PASSWORD}"db: "${REDIS_DB:-0}"
The configuration is like that because i fail to see a scenario where multiple lock drivers would be needed, but i could be wrong.
Also supporting multiple lock drivers at a time would also require a change in the PHP interface and implementation.
The text was updated successfully, but these errors were encountered:
Hey @sicet7 👋🏻
This is a great idea. We have the concept of the community-driven plugins: https://docs.roadrunner.dev/docs/community-plugins/intro. It can be in any organization, if you feel, that you can support it, feel free to let me know. You only need to make a PR into docs to describe your plugin, add Velox (roadrunner-server/velox) configuration to build RR with your plugin (also in docs) and then I'll post an update about that plugin to the RoadRunner channel in our Discord server.
I failed to find the
lock
plugin in the Plugin dropdown for this Feature Request so i wrote it manually 😃Plugin
Lock
I have an idea!
It would be awesome if the Lock Plugin supported other drivers like the KV Plugin does.
The configuration could look something like this:
That being said i already have a proof of concept redis locking plugin that could easily be plundered for any useful code for an implementation.
The configuration is like that because i fail to see a scenario where multiple lock drivers would be needed, but i could be wrong.
Also supporting multiple lock drivers at a time would also require a change in the PHP interface and implementation.
The text was updated successfully, but these errors were encountered: