move MaxTokenAge configuration option to the Transport (#4084)

This commit is contained in:
Marten Seemann
2023-09-16 19:10:20 +07:00
committed by GitHub
parent 9b82196578
commit 1affe38703
7 changed files with 14 additions and 13 deletions

View File

@@ -78,8 +78,6 @@ var _ = Describe("Config", func() {
f.Set(reflect.ValueOf(time.Second))
case "MaxIdleTimeout":
f.Set(reflect.ValueOf(time.Hour))
case "MaxTokenAge":
f.Set(reflect.ValueOf(2 * time.Hour))
case "TokenStore":
f.Set(reflect.ValueOf(NewLRUTokenStore(2, 3)))
case "InitialStreamReceiveWindow":