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: junah201/functions-framework-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 3 commits
  • 12 files changed
  • 3 contributors

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

Commits on Feb 20, 2024

  1. Configuration menu
    Copy the full SHA
    7ff9e38 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2024

  1. fix: modify type check to accept Callable (#317)

    In the get_user_function function within _function_registry.py, change the type check to accept callable objects instead of only types.FunctionType. This allows for instances of classes with a __call__ method.
    junah201 committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    bc492e4 View commit details
    Browse the repository at this point in the history
Loading