Skip to content

Commit

Permalink
add a Sidekiq logger to jobs by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Maciej Kołek committed Nov 24, 2015
1 parent 2380354 commit a8ea4ed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/gush/job.rb
Expand Up @@ -98,6 +98,10 @@ def has_no_dependencies?
end

private
def logger
Sidekiq.logger
end

def current_timestamp
Time.now.to_i
end
Expand Down

0 comments on commit a8ea4ed

Please sign in to comment.