Revert the deliberate break (#8299)
Run 11302 failed all ten named tests, and with them apierror's
TestWrite_SendsTheEnvelopeAndHidesAPlainErrorsText and api's
TestFlag_BadReason, which pin the same rules from the handler side.
This reverts commit 21adbc2283.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -37,7 +37,7 @@ func FindOrCreate(
|
||||
// "Within window" includes the exact-boundary case: gap <= timeout
|
||||
// extends.
|
||||
gap := eventTime.Sub(prev.LastEventAt.Time)
|
||||
if gap < timeout /* DELIBERATE BREAK */ {
|
||||
if gap <= timeout {
|
||||
if err := q.TouchPlaySessionLastEvent(ctx, dbq.TouchPlaySessionLastEventParams{
|
||||
ID: prev.ID,
|
||||
LastEventAt: pgtype.Timestamptz{Time: eventTime, Valid: true},
|
||||
|
||||
Reference in New Issue
Block a user