Skip to content

Commit 5124f51

Browse files
committed
doc: update other session terminology to sandbox
1 parent 22d7f54 commit 5124f51

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

compute/compute.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ import (
1616
// of the program.
1717
//
1818
// Because compute guests can run on a variety of different platforms,
19-
// you should not necessarily expect these values to converge across
20-
// different sessions. Instead, we strongly recommend using this value
19+
// you should not necessarily expect these raw values to converge across
20+
// different executions. Instead, we strongly recommend using this value
2121
// to look at the relative cost of various operations in your code base,
2222
// by taking the time before and after a particular operation and then
2323
// dividing this by the total amount of vCPU time your program takes.

fsthttp/backend.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -329,10 +329,10 @@ func (b *BackendOptions) ClientCertificate(certificate string, key secretstore.S
329329

330330
// PoolConnections allows users to turn connection pooling on or off for the
331331
// backend. Pooling allows the Compute platform to reuse connections across
332-
// multiple sessions, resulting in lower resource use at the server (because it
333-
// does not need to reperform the TCP handhsake and TLS authentication when the
332+
// multiple executions, resulting in lower resource use at the server (because it
333+
// does not need to repeat the TCP handhsake and TLS authentication when the
334334
// connection is reused). The default is to pool connections. Set this to false
335-
// to create a new connection to the backend for every incoming session.
335+
// to create a new connection to the backend for every incoming request.
336336
func (b *BackendOptions) PoolConnections(poolingOn bool) *BackendOptions {
337337
b.abiOpts.PoolConnections(poolingOn)
338338
return b

internal/abi/fastly/compute_runtime_guest.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ import (
2222
func fastlyGetVCPUMs(prim.Pointer[prim.U64]) FastlyStatus
2323

2424
// Return the number of milliseconds spent on the CPU for the current
25-
// session.
25+
// sandbox.
2626
//
2727
// Because compute guests can run on a variety of different platforms,
28-
// you should not necessarily expect these values to converge across
29-
// different sessions. Instead, we strongly recommend using this value
28+
// you should not necessarily expect these raw values to converge across
29+
// different executions. Instead, we strongly recommend using this value
3030
// to look at the relative cost of various operations in your code base,
3131
// by taking the time before and after a particular operation and then
3232
// dividing this by the total amount of vCPU time your program takes.

secretstore/secretstore.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ func (s *Secret) Handle() *fastly.Secret {
115115
// This function is provided as a way to use data that should be secret,
116116
// but is being obtained by some other means than a Fastly Secret Store.
117117
// Secret values created this way are plaintext only, and are not shared
118-
// with other sessions. This should only be used in situations in which
118+
// via a Store. This should only be used in situations in which
119119
// an API requires a [Secret], but you cannot (for whatever reason) use
120120
// a [Store] to store them.
121121
//

0 commit comments

Comments
 (0)