SpacetimeDB icon indicating copy to clipboard operation
SpacetimeDB copied to clipboard

commitlog: Change default max-records-in-commit to 1

Open kim opened this issue 1 month ago • 0 comments

It is almost always wrong / undesirable to pack more than one transaction in a commit, so adjust the default accordingly.

This also avoids surprises when using #[serde(default)] with nested structs -- serde evaluates the default depth-first, so overriding a single field in a nested struct will not consider any #[serde(default = "custom_default")] annotations on the parent.

kim avatar Nov 18 '25 11:11 kim