Skip to content

Commit

Permalink
refactor: remove sidekiq? (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
ninoseki authored Dec 9, 2024
1 parent 161c9ed commit 4a8dcdb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions lib/miteru.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ class << self
# @return [SematicLogger]
#
def logger
SemanticLogger.sync! unless sidekiq?

SemanticLogger.default_level = :info
SemanticLogger.add_appender(io: $stderr, formatter: :color)
SemanticLogger["Miteru"]
Expand Down
4 changes: 0 additions & 4 deletions lib/miteru/service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@ def cache?
Miteru.cache?
end

def sidekiq?
Miteru.sidekiq?
end

#
# @return [Miteru::Cache]
#
Expand Down

0 comments on commit 4a8dcdb

Please sign in to comment.