Skip to content

Commit 4b3b9bd

Browse files
client_type from configuration
1 parent f85de6f commit 4b3b9bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/temporal/client.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def self.generate
1515
thread_id = Thread.current.object_id
1616
identity = "#{thread_id}@#{hostname}"
1717

18-
if client_type == :grpc
18+
if Temporal.configuration.client_type == :grpc
1919
client_class.new(host, port, identity, Temporal.configuration.grpc_ssl_config)
2020
else
2121
client_class.new(host, port, identity)

0 commit comments

Comments
 (0)