You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can see that the timeout is in the hooks.go script. Is it possible to extend that timeout? Perhaps from a global, environment or configuration variable?
Hello,
I'm using the Netlify authentication webhook to call a function which generates a new cloudant database:
Above: Netlify webhook configuration
Above: Cloudant database that's created via the webhook function
The function has to return the credentials for the newly-created database, which is saved as
app_metadata
in the user's Netlify identity account.Although the code does behave as expected, the hook returns a timeout error.
"Failed to perform webhook in time frame."
I can see that the
timeout
is in thehooks.go
script. Is it possible to extend that timeout? Perhaps from a global, environment or configuration variable?https://github.com/netlify/gotrue/blob/master/api/hooks.go#L106
My source code: https://github.com/adambraimbridge/goldbug/blob/be9c82dcc8a9df3d92cb9df071bd6fce2ef9b37e/functions/get-cloudant-database.js
Many thanks, Adam.
The text was updated successfully, but these errors were encountered: