Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mperham committed Feb 19, 2024
1 parent 8f1cc4d commit ec413e4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions lib/faktory/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def initialize(url: uri_from_env || "tcp://localhost:7419", debug: false, timeou
super
@debug = debug
@location = URI(url)
@sock = nil

open_socket
end
Expand Down
2 changes: 0 additions & 2 deletions test/client_test.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
require "helper"

class ClientTest < Minitest::Test
Faktory::Client::DEFAULT_TIMEOUT = 1

def teardown
# Ensure that these tests aren't dependent on run order
ENV["FAKTORY_PROVIDER"] = nil
Expand Down

0 comments on commit ec413e4

Please sign in to comment.