5f33abba93
sync_interval has no upper bound, so a value above MaxInt32 passes validation and then fails the INTEGER column insert as a 500, and very large values overflow time.Duration. - add MaxSyncInterval (30 days in seconds) - reject sync_interval above it with a 400 via ValidateSyncInterval - cover the boundary in TestValidateSyncInterval and over-limit values in TestSyncIntervalAPI Reviewed-on: #174 Co-authored-by: unkin-agent <unkin-agent@unkin.net> Co-committed-by: unkin-agent <unkin-agent@unkin.net>