package web import "time" // DefaultUploadIdleTimeout exposes the production idle bound (#56) to the black-box tests: // cmd/tapir never sets App.UploadIdleTimeout, so this constant IS the deployed value. const DefaultUploadIdleTimeout = defaultUploadIdleTimeout // UploadIdleTimeoutForTest exposes the bound an App resolves to (#56), so a test can pin the // value the zero-value App -- production's -- actually uses rather than only the constant. func (a *App) UploadIdleTimeoutForTest() time.Duration { return a.uploadIdleTimeout() }