mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-17 16:15:22 +00:00
28 lines
523 B
TOML
28 lines
523 B
TOML
main = "./src/index.ts"
|
|
name = "gitbook-open-cache"
|
|
compatibility_date = "2024-09-02"
|
|
|
|
durable_objects.bindings = [
|
|
{name = "CACHE", class_name = "CacheObject"}
|
|
]
|
|
|
|
migrations = [
|
|
{tag = "v1", new_classes = ["CacheObject"]}
|
|
]
|
|
|
|
[observability]
|
|
enabled = false
|
|
|
|
[env.preview]
|
|
name = "gitbook-open-cache-preview"
|
|
durable_objects.bindings = [
|
|
{name = "CACHE", class_name = "CacheObject"}
|
|
]
|
|
migrations = [
|
|
{tag = "v1", new_classes = ["CacheObject"]}
|
|
]
|
|
|
|
[env.preview.observability]
|
|
enabled = true
|
|
head_sampling_rate = 0.1
|