Files
kandev/apps/backend/internal/task/service/constants.go
T
2026-09-22 10:31:53 +01:00

12 lines
427 B
Go

package service
const (
// DefaultMessagesPageSize is the bounded first-page size returned when a
// history request supplies no pagination parameters at all (see
// httpListMessages/wsListMessages), matching the PR-watch/storage-bounds
// plan's requirement that normal history hydration never eagerly
// materializes a whole session's messages by default.
DefaultMessagesPageSize = 50
MaxMessagesPageSize = 100
)