openfaas / cron-connector

Invoke functions on a schedule.
MIT License
39 stars 10 forks source link

Defaulting function invocation to async #14

Closed jdewinne closed 2 years ago

jdewinne commented 3 years ago

Signed-off-by: Joris De Winne joris.dewinne@gmail.com

Description

This makes the default function invocation async. It can be changed by setting the environment variable async.

Motivation and Context

How Has This Been Tested?

Did a manual test with the nodeinfo function.

Types of changes

Checklist:

noam09 commented 3 years ago

Hey @jdewinne, regarding the environment variable, just a reminder that Alex requested that:

The environment variable should be called async_invocation as per the other connectors.

jdewinne commented 3 years ago

Hey @jdewinne, regarding the environment variable, just a reminder that Alex requested that:

The environment variable should be called async_invocation as per the other connectors.

Thanks. Made the change.

alexellis commented 2 years ago

Let us know if you need anything.

We've invested a significant amount in OpenFaaS Pro recently, which may be of interest to you.