Skip to content

Commit 63a3ea2

Browse files
Merge branch 'main' into amazzeo/nexus-python-quickstart
2 parents 81d9ed2 + 4041c88 commit 63a3ea2

4 files changed

Lines changed: 16 additions & 4 deletions

File tree

docs/cloud/nexus/limits.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ Nexus limits are documented in [Temporal Cloud limits](/cloud/limits):
3232
- [Per-Workflow Nexus Operation limits](/cloud/limits#per-workflow-nexus-operation-limits) - 30 in-flight Operations per Workflow.
3333
- [Nexus Operation request timeout](/cloud/limits#nexus-operation-request-timeout) - Less than 10 seconds for a handler to process a start or cancel request.
3434
- [Nexus Operation duration limits](/cloud/limits#nexus-operation-duration-limits) - 60-day maximum ScheduleToClose duration.
35-
- [Per-Workflow callback limits](/cloud/limits#per-workflow-callback-limits) - 2000 callbacks per Workflow. Governs how many Nexus callers can attach to a handler Workflow.
35+
- [Per-Workflow callback limits](/cloud/limits#per-workflow-callback-limits) - 2000 callbacks per Workflow. Governs how many Nexus callers can attach to a handler Workflow.

docs/develop/java/set-up.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,9 @@ public class Starter {
442442

443443
String result = workflow.sayHello("Temporal");
444444
System.out.println("Workflow result: " + result);
445+
446+
service.shutdown();
447+
service.awaitTermination(10, java.util.concurrent.TimeUnit.SECONDS);
445448
}
446449
}
447450
```

src/pages/search.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,12 @@ function SearchResultItem({ hit }: { hit: any }) {
6161
const fullUrl = hit.url || hit.objectID;
6262
try {
6363
const url = new URL(fullUrl, window.location.origin);
64-
history.push(url.pathname + url.hash);
64+
if (url.origin !== window.location.origin) {
65+
// External URL (e.g. learn.temporal.io) — navigate directly
66+
window.location.href = fullUrl;
67+
} else {
68+
history.push(url.pathname + url.hash);
69+
}
6570
} catch {
6671
history.push(fullUrl);
6772
}

src/theme/SearchBar/Hit.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,14 @@ export function Hit({ hit, isSelected, onNavigate, isAnchor, isLastAnchor, paren
3737
const handleClick = (e: React.MouseEvent) => {
3838
e.preventDefault();
3939
const fullUrl = hit.url || hit.objectID;
40-
// Extract pathname from full URL to avoid appending the whole URL
4140
try {
4241
const url = new URL(fullUrl, window.location.origin);
43-
history.push(url.pathname + url.hash);
42+
if (url.origin !== window.location.origin) {
43+
// External URL (e.g. learn.temporal.io) — navigate directly
44+
window.location.href = fullUrl;
45+
} else {
46+
history.push(url.pathname + url.hash);
47+
}
4448
} catch {
4549
history.push(fullUrl);
4650
}

0 commit comments

Comments
 (0)