Skip to content

Commit

Permalink
Merge pull request #426 from donbobka/fix-is-server-method
Browse files Browse the repository at this point in the history
Fix server? method
  • Loading branch information
ZimbiX authored Jul 24, 2024
2 parents e0ed45b + af6ed61 commit e717fee
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 e717fee

Please sign in to comment.