这是indexloc提供的服务,不要输入任何密码
Skip to content

Functions emulator does not honor timeoutSeconds #2837

@xaphod

Description

@xaphod

[REQUIRED] Environment info

firebase-tools: 8.16.2

Platform: macOS 10.15.7

[REQUIRED] Test case

exports.zip = functions
  .runWith({ memory: '1GB', timeoutSeconds: 540 })
  .https
  .onRequest(zip);

[REQUIRED] Steps to reproduce

Run function on emulator such that it takes a long time to execute.

[REQUIRED] Expected behavior

I expect that the function times out in 540 seconds.

[REQUIRED] Actual behavior

The function times out in about 60 seconds (I did not time it, that is a guess).

Is it a known issue that the emulator doesn't respect timeoutSeconds, or did I do it wrong?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions