Commit 8fffbb8
Jeremy Bornstein
Add interface type-checking for timeSource config in RequestDelay.
Use MustBe.instanceOf() to validate that non-null timeSource values
implement IntfTimeSource, matching the pattern used in TokenBucket.1 parent 1cf237f commit 8fffbb8
1 file changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | 104 | | |
108 | 105 | | |
109 | | - | |
| 106 | + | |
110 | 107 | | |
111 | 108 | | |
112 | 109 | | |
| |||
0 commit comments