Skip to content

Commit

Permalink
fix server? method
Browse files Browse the repository at this point in the history
  • Loading branch information
donbobka authored Apr 29, 2024
1 parent 80d6067 commit af6ed61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/que.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def default_queue
end

def server?
defined?(Que::CommandLineInterface).nil?
!defined?(Que::CommandLineInterface).nil?
end

# Support simple integration with many common connection pools.
Expand Down

0 comments on commit af6ed61

Please sign in to comment.