Skip to content

Commit c99befd

Browse files
dprevoznikgithub-actions[bot]masnwilliams
authored
Danny/kernel 297 docs mention timeouts for async invocation (#43)
* docs: update code samples from OpenAPI * Async Invocation time out note Add info about timeout of 15 minutes for async invocations --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Mason Williams <43387599+masnwilliams@users.noreply.github.com>
1 parent 615d665 commit c99befd

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

apps/invoke.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ You can invoke your app by making a `POST` request to Kernel's API or via the CL
1717

1818
For long running jobs, use asynchronous invocations to trigger Kernel actions without waiting for the result. You can then poll its [status](/apps/status) for the result.
1919

20+
<Info>Asynchronous invocations time out after 15 minutes.</Info>
21+
2022
<AsyncInvocation />
2123

2224
## Via CLI

reference/cli/apps.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Invoke a specific app action by its name. Generates an Invocation.
2121
| `--payload <payload_data>`, `-p` | Stringified JSON object (max 64 KB). Optional. |
2222
| `--sync`, `-s` | Invoke synchronously (default false). Optional. |
2323

24-
<Info>Synchronous invocations open a long-lived HTTP POST that times out after 60 seconds. Press `ctrl-c` to terminate a running invocation; associated browsers are destroyed.</Info>
24+
<Info>Synchronous invocations open a long-lived HTTP POST that times out after 60 seconds. Asynchronous invocations time out after 15 minutes. Press `ctrl-c` to terminate a running invocation; associated browsers are destroyed.</Info>
2525

2626
## `kernel app list`
2727
List deployed application versions.

0 commit comments

Comments
 (0)