Comments (2)
I see... an API like Sidekiq.configure_server(&block)
that exists in Ruby or something else is missing.
The current workaround as you said is using the env var, OTOH this issue is easy to fix.
from sidekiq.cr.
I just noticed that this is already implemented, just not documented, so I just add the code to do the redis configuration to the example, basically you do:
cli = Sidekiq::CLI.new
server = cli.configure do |config|
config.redis = Sidekiq::RedisConfig.new("localhost", 6379)
end
cli.run(server)
from sidekiq.cr.
Related Issues (20)
- Port to Crystal 1.0.0 HOT 5
- Issues connecting to Sidekiq Pro HOT 4
- Can't run tests HOT 5
- Move to GitHub Actions
- Dependency on baked_file_system commit that no longer exists HOT 6
- Can't send job to queue HOT 2
- Error: method Redis::TransactionApi#zadd must return (Int64 | String) but it is returning Redis::Future HOT 4
- Split this shard in sidekiq.cr and sidekiq-dashboard.cr
- Job not being executed HOT 2
- Namespace support HOT 2
- Periodic jobs HOT 6
- Getting started with some web framework HOT 6
- Can't run example in manjaro linux HOT 1
- Easy to swap with Ruby version of sidekiq? HOT 1
- Update redis to new version HOT 1
- Web Dashboard HOT 3
- Test Mode
- Sidekiq breaks with kemal-session shard. HOT 1
- Sidekiq web example is not compiling HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sidekiq.cr.