Skip to content

Default timeout for Dart functions is not 60 seconds #10487

Closed

Description

@OutdatedGuy

[REQUIRED] Environment info

firebase-tools: 15.17.0

Platform: macOS

[REQUIRED] Test case

import 'package:firebase_functions/firebase_functions.dart';

void main() {
  runFunctions((firebase) {
    firebase.https.onRequest(name: 'helloWorld', (_) async {
      return Response(200, body: 'Hello from Dart Functions!');
    });
  });
}

[REQUIRED] Steps to reproduce

  1. Deploy the sample code to google cloud via firebase deploy --only functions
  2. See in Google Cloud Console under Requests that timeout is 300 seconds

[REQUIRED] Expected behavior

The default timeout should be 60 seconds similar to node.js functions

Image

[REQUIRED] Actual behavior

The timeout is set to 300 seconds

Image

Activity

  1. aalej commented on May 12, 2026

    @aalej
    Contributor

    Thanks for the detailed report @OutdatedGuy! Having the same default timeout between Node.js, Python, and Dart would be nice so that we can ensure behavior is consistent. I'll raise this to our engineering team.

    Sharing the mcve here - https://github.com/aalej/issues-10487

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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