fnproject / fdk-java

Java API and runtime for fn.
Apache License 2.0
142 stars 53 forks source link

Use FN_DEADLINE to limit function execution time #120

Open denismakogon opened 6 years ago

zootalures commented 6 years ago

deadline should be enforced in the server, not the runtime shouldn't it? - not clear how this is an FDK requirement.

denismakogon commented 6 years ago

fn starts the timeout before fdk receives the request, so FN_DEADLINE gives FDK ability to gracefully abort the request instead of hummer smashing fn timeout.