Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
svenfuchs committed Sep 30, 2016
1 parent 8997b7d commit 552b425
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 33 deletions.
1 change: 0 additions & 1 deletion Procfile
@@ -1,3 +1,2 @@
console: bundle exec je ./bin/console
schedule: bundle exec je ./bin/schedule
sidekiq: bundle exec je bin/sidekiq ${SIDEKIQ_CONCURRENCY:-5} ${SIDEKIQ_QUEUE:-scheduler}
3 changes: 3 additions & 0 deletions TODO.md
@@ -1,3 +1,6 @@
- log in notify: add the repo slug

- sidekiq exception handling middleware?
- check recent commits to master

- check with Hiro that the `cache_settings` feature flag can be removed
Expand Down
17 changes: 0 additions & 17 deletions bin/schedule

This file was deleted.

2 changes: 1 addition & 1 deletion bin/sidekiq
Expand Up @@ -12,4 +12,4 @@ for queue in $queues; do
done

echo "Running: $cmd"
$cmd
exec $cmd
2 changes: 1 addition & 1 deletion lib/travis.rb
Expand Up @@ -2,7 +2,7 @@ module Travis
module Scheduler
def self.push(*args)
::Sidekiq::Client.push(
'queue' => 'scheduler',
'queue' => ENV['SIDEKIQ_QUEUE'] || 'scheduler',
'class' => 'Travis::Scheduler::Worker',
'args' => args
)
Expand Down
12 changes: 0 additions & 12 deletions lib/travis/scheduler/services.rb

This file was deleted.

2 changes: 1 addition & 1 deletion lib/travis/scheduler/worker.rb
Expand Up @@ -9,7 +9,7 @@ class Worker
def perform(service, *args)
run_service(service, *args)
rescue => e
error e.message, e.backtrace
puts e.message, e.backtrace
raise
end

Expand Down

0 comments on commit 552b425

Please sign in to comment.