Skip to content

Commit

Permalink
Remove require "thread" from Action Cable
Browse files Browse the repository at this point in the history
Not needed since Ruby 2.1.
  • Loading branch information
fxn committed Mar 5, 2022
1 parent 3ec6b6e commit a3f4ae9
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions actioncable/lib/action_cable/connection/stream.rb
@@ -1,7 +1,5 @@
# frozen_string_literal: true

require "thread"

module ActionCable
module Connection
#--
Expand Down
@@ -1,7 +1,6 @@
# frozen_string_literal: true

require "nio"
require "thread"

module ActionCable
module Connection
Expand Down
Expand Up @@ -2,7 +2,6 @@

gem "pg", "~> 1.1"
require "pg"
require "thread"
require "openssl"

module ActionCable
Expand Down
2 changes: 0 additions & 2 deletions actioncable/lib/action_cable/subscription_adapter/redis.rb
@@ -1,7 +1,5 @@
# frozen_string_literal: true

require "thread"

gem "redis", ">= 3", "< 5"
require "redis"

Expand Down

0 comments on commit a3f4ae9

Please sign in to comment.