Skip to content

Question: Add max instances to runtimeOptions? #566

Closed
@alexlouden

Description

@alexlouden

I've been reading through #425 (@merlinnot's proposal to add retry to runtimeOptions) and I was wondering whether it would make sense to add max-instances too? Or should this wait until max-instances is out of beta?

interface RuntimeOptions {
  maxInstances?: number;
  retry?: FailurePolicy | boolean ;
  memory?: '128MB' | '256MB' | '512MB' | '1GB' | '2GB';
  timeoutSeconds?: number;
}

At the moment all our firebase cloud functions are deployed via CD - we try and avoid using the gcloud CLI or the web console. (I've actually only recently discovered that retry and max-instances existed!)

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