Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hook Redis #160

Open
kgilpin opened this issue Jun 28, 2021 · 0 comments
Open

Hook Redis #160

kgilpin opened this issue Jun 28, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@kgilpin
Copy link
Contributor

kgilpin commented Jun 28, 2021

Here's a representative table of Redis methods which can be hooked automatically:

├───────────────────────────────────────────────────────────┼─────────────────────────────────┼────────────────────────────────┤
│                                                           │ redis/Redis#expire              │                                │
│                                                           │ redis/Redis#get                 │                                │
│                                                           │ redis/Redis#llen                │                                │
│                                                           │ redis/Redis#lpop                │                                │
│                                                           │ redis/Redis#lpush               │                                │
│ app/integrations/FileCacheMaintainer.assign_blocklist_ids │ redis/Redis#sadd                │                                │
│ app/integrations/FileCacheMaintainer.blocklist            │ redis/Redis#smembers            │                                │
│ app/integrations/FileCacheMaintainer.blocklist            │ redis/Redis#type                │                                │
│ app/integrations/FileCacheMaintainer.blocklist_include?   │ redis/Redis#sismember           │                                │
│ app/integrations/FileCacheMaintainer.files                │ redis/Redis#hgetall             │                                │
│ app/integrations/FileCacheMaintainer.files                │ redis/Redis#type                │                                │
│ app/integrations/FileCacheMaintainer.redis                │ redis/Redis.current             │                                │
│ app/integrations/FileCacheMaintainer.remove_file          │ redis/Redis#hdel                │                                │
│ app/integrations/FileCacheMaintainer.reset_blocklist_ids  │ redis/Redis#expire              │                                │
│ app/integrations/FileCacheMaintainer.reset_file_info      │ redis/Redis#expire              │                                │
│ app/integrations/FileCacheMaintainer.update_file_info     │ redis/Redis#hset                │                                │
│ app/models/Counts.assign_for                              │ redis/Redis#hset                │                                │
│ app/models/Counts.retrieve_for                            │ redis/Redis#hget                │                                │
│ app/models/Counts.retrieve_for                            │ redis/Redis::Connection.drivers │                                │
│ app/models/Counts.week_creation_chart                     │ redis/Redis#hget                │                                │
│ app/workers/EmailUpdatedTermsWorker#perform               │ redis/Redis#llen                │                                │
│ app/workers/EmailUpdatedTermsWorker#perform               │ redis/Redis#lpop                │                                │
│ app/workers/EmailUpdatedTermsWorker#perform               │ redis/Redis#rpush               │                                │
│ app/workers/EmailUpdatedTermsWorker#redis                 │ redis/Redis.current             │                                │
│ app/workers/ScheduledWorker.redis                         │ redis/Redis#expire              │                                │
│ app/workers/ScheduledWorker.redis                         │ redis/Redis#hget                │                                │
│ app/workers/ScheduledWorker.redis                         │ redis/Redis#hset                │                                │
│ app/workers/ScheduledWorker.redis                         │ redis/Redis::Connection.drivers │                                │
│ sidekiq/Sidekiq.redis                                     │ redis/Redis#llen                │                                │
│ sidekiq/Sidekiq.redis                                     │ redis/Redis#lrange              │                                │
│ sidekiq/Sidekiq.redis                                     │ redis/Redis::Connection.drivers │                                │
│ sidekiq/Sidekiq::Testing.inline!                          │ redis/Redis#get                 │                                │
│ vcr/VCR.use_cassette                                      │ redis/Redis#get                 │                                │
└───────────────────────────────────────────────────────────┴─────────────────────────────────┴────────────────────────────────┘
@kgilpin kgilpin added the enhancement New feature or request label Jun 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant