function
ValidateTaskBatch
Validate a prune or adapter batch bound.
Arguments
| Argument | Type | Description |
|---|---|---|
limit | int | The requested row count from 1 through MaxTaskBatch. |
Returns
Nil when valid or a bounded, actionable contract error.
errorHow it works
Custom TaskStore implementations should call this at their direct public boundary and still enforce the corresponding database invariants atomically.
Full signature
func ValidateTaskBatch(limit int) error