GoogleCloudPlatform / cloud-run-button

Let anyone deploy your GitHub repos to Google Cloud Run with a single click
https://cloud.run
Apache License 2.0
523 stars 91 forks source link

Support for instance request timeout in options #238

Open evil-shrike opened 1 year ago

evil-shrike commented 1 year ago

Currently there are only limited set of options are supported:

    "options": {
        "allow-unauthenticated": false,
        "memory": "512Mi",
        "cpu": "1",
        "port": 80,
        "http2": false,
        "concurrency": 80,
        "max-instances": 10,
    },

comparing to gcloud run deploy. Can you please add support for timeout at least.

--timeout=TIMEOUT Set the maximum request execution time (timeout). It is specified as a duration; for example, "10m5s" is ten minutes, and five seconds. If you don't specify a unit, seconds is assumed. For example, "10" is 10 seconds.

By default it's only 300 sec.