Skip to main content

MAX_APPLY_WRITES

Constant MAX_APPLY_WRITES 

Source
pub const MAX_APPLY_WRITES: usize = 200;
Expand description

The most writes one com.atproto.repo.applyWrites batch may carry.

A batch is one commit, and atproto’s sync specification says “at most 200 record operations can be included in a commit”; a relay drops a commit that carries more. The reference PDS refuses such a batch the same way.