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

Fix/sidekiq bug #243

Merged
merged 3 commits into from
Aug 7, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .env.development
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ DB_HOST=127.0.0.1
DB_PORT=$(make services-port SERVICE=postgresql PORT=5432)
DB_USER=postgres
DB_POOL=25

# Redis
REDIS_HOST=127.0.0.1
REDIS_PORT=$(make services-port SERVICE=redis PORT=6379)
2 changes: 1 addition & 1 deletion config/puma.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
environment rack_env

# Set 1 day timeout for workers while developing
worker_timeout 1.day.seconds.to_i if rack_env == "development"
worker_timeout 24 * 60 * 60 if rack_env == "development"

on_worker_boot do
# Worker specific setup for Rails 4.1+
Expand Down
2 changes: 1 addition & 1 deletion config/sidekiq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ production:
:limits:
pull_requests: <%= ENV.fetch('SIDEKIQ_PULL_REQS_CONCURRENCY', 1) %>
reviews: <%= ENV.fetch('SIDEKIQ_REVIEWS_CONCURRENCY', 4) %>
:schedule:
# :schedule:
# an_scheduled_task:
# cron: '0 * * * * *' # Runs once per minute
# class: ExampleJob
Expand Down