Browse Source

Make and variable again, for use in client code.

Daniel Alm 7 năm trước cách đây
mục cha
commit
40978ae486
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      Sources/gRPC/Channel.swift

+ 2 - 2
Sources/gRPC/Channel.swift

@@ -27,10 +27,10 @@ public class Channel {
   private let completionQueue: CompletionQueue
 
   /// Timeout for new calls
-  public let timeout: TimeInterval = 600.0
+  public var timeout: TimeInterval = 600.0
 
   /// Default host to use for new calls
-  public let host: String
+  public var host: String
 
   /// Initializes a gRPC channel
   ///