Skip to content

Commit d29ef46

Browse files
committed
update openapi spec for snapshot_every_n_epochs
1 parent cebb01c commit d29ef46

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

chain/jsonrpc/openapi/openapi.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3786,6 +3786,13 @@
37863786
"secs": 1
37873787
},
37883788
"description": "Interval at which the system checks for new blocks or chunks to archive."
3789+
},
3790+
"snapshot_every_n_epochs": {
3791+
"default": 10,
3792+
"description": "Cadence of state snapshots, in epochs. Higher values reduce bucket cost at\nthe expense of potentially longer delta replay during reader bootstrap.",
3793+
"format": "uint64",
3794+
"minimum": 0,
3795+
"type": "integer"
37893796
}
37903797
},
37913798
"type": "object"

chain/jsonrpc/openapi/openrpc.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2722,6 +2722,13 @@
27222722
"secs": 1
27232723
},
27242724
"description": "Interval at which the system checks for new blocks or chunks to archive."
2725+
},
2726+
"snapshot_every_n_epochs": {
2727+
"default": 10,
2728+
"description": "Cadence of state snapshots, in epochs. Higher values reduce bucket cost at\nthe expense of potentially longer delta replay during reader bootstrap.",
2729+
"format": "uint64",
2730+
"minimum": 0,
2731+
"type": "integer"
27252732
}
27262733
},
27272734
"title": "CloudArchivalWriterConfig",

0 commit comments

Comments
 (0)