Skip to content

Typo: Callable timeoutInterval documentation has wrong default value #13868

@stjernegard

Description

@stjernegard

Description

Callable<Request, Response>.timeoutInterval says that it defaults to 60 seconds. Actually it defers to HTTPSCallable. timeoutInterval, which defaults to 70 seconds.

Relevant snippets:

  /// The timeout to use when calling the function. Defaults to 60 seconds.
  public var timeoutInterval: TimeInterval {
    get {
      callable.timeoutInterval
    }
    set {
      callable.timeoutInterval = newValue
    }
  }
  /// The timeout to use when calling the function. Defaults to 70 seconds.
  @objc open var timeoutInterval: TimeInterval = 70

Reproducing the issue

No response

Firebase SDK Version

11.3

Xcode Version

16.0

Installation Method

Swift Package Manager

Firebase Product(s)

Functions

Targeted Platforms

All

Relevant Log Output

No response

If using Swift Package Manager, the project's Package.resolved

No response

If using CocoaPods, the project's Podfile.lock

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions