Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: GoogleCloudPlatform/functions-framework-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: chujchen/functions-framework-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 1 commit
  • 4 files changed
  • 1 contributor

Commits on Feb 14, 2024

  1. fix!: avoid long running process when request timeout (#309)

    Previously function framework use 0 timeout which is actually "no timeout" restrction.
     This was causing a problem that when user provides a request timeout to Cloud function, process will still continue and consume resources.
     In this fix, timeout is enabled; default timeout settings is 5 min, same as Cloud run.
     To make sure timeout settings will be respected, default settings switched from multi-threads to multi-workers.
    
     However, user is still allowed to  customize workers/threads by assigning env var. But user need to note that timeout won't work when #thread > 1.
    chujchen authored Feb 14, 2024
    Configuration menu
    Copy the full SHA
    3d2095c View commit details
    Browse the repository at this point in the history
Loading