Skip to content

Commit ae058df

Browse files
author
molty3000
committed
fix(landing): correct API names in carousel snippets (stickySession, scaleTo)
1 parent a3124bf commit ae058df

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ <h4>Intelligent Load Balancer with Health Checks</h4>
272272
{ url: <span class="str">'http://api3:3000'</span>, weight: <span class="num">1</span> },
273273
],
274274
healthCheck: { enabled: <span class="kw">true</span>, interval: <span class="num">15000</span>, path: <span class="str">'/health'</span> },
275-
stickySessions: { enabled: <span class="kw">true</span> },
275+
stickySession: { enabled: <span class="kw">true</span> },
276276
},
277277
})</div>
278278
</div>
@@ -313,7 +313,7 @@ <h4>Multi-Process Cluster with Zero-Downtime Restarts</h4>
313313
},
314314
})
315315
<span class="cmt">// Scale at runtime: kill -s SIGUSR2 &lt;pid&gt; → rolling restart</span>
316-
<span class="cmt">// Increase workers: gateway.cluster.scale(12)</span></div>
316+
<span class="cmt">// Increase workers: gateway.cluster.scaleTo(12)</span></div>
317317
</div>
318318
</div>
319319
<div class="use-slide">

0 commit comments

Comments
 (0)