Skip to content

Commit 63394a9

Browse files
source-functions: Update limits (#1602)
* source-functions: Update limits * Update src/connections/sources/source-functions/index.md Co-authored-by: LRubin <[email protected]> * Update in both places I don't know if this other copy is referenced anywhere but I'm keeping it up-to-date just to be consistent. * Remove old file Co-authored-by: LRubin <[email protected]>
1 parent 52651f9 commit 63394a9

File tree

2 files changed

+7
-361
lines changed

2 files changed

+7
-361
lines changed

src/connections/functions/source-functions.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -380,10 +380,14 @@ Copy and paste this URL into the upstream tool or service to send data to this s
380380

381381
## Source function FAQs
382382

383+
##### What is the retry policy for a webhook payload?
384+
385+
The webhook payload retries up to 5 times with an exponential backoff for the function in the event of a failure with the function. After 5 attempts, the message is dropped.
386+
383387
##### What is the maximum payload size for the incoming webhook?
384388

385-
2MB.
389+
The maximum payload size for an incoming webhook payload is 512 KiB.
386390

387-
##### Is there a function execution time limit?
391+
##### What is the timeout for a function to execute?
388392

389-
Yes, functions should execute within 5 seconds.
393+
The execution time limit is 5 seconds, however Segment strongly recommends that you keep execution time as low as possible. If you are making multiple external requests you can use async / await to make them concurrently, which will help keep your execution time low.

src/connections/sources/source-functions/index.md

Lines changed: 0 additions & 358 deletions
This file was deleted.

0 commit comments

Comments
 (0)