Commit caf0e57
authored
chore: add an option to block network requests to server (sourcegraph#8151)
Add a new feature flag to allow disabling network requests from Cody, in
the rare cases that Cody client causes problems. Both vscode and agent
uses the patched `DelegateAgent`, so this flag should apply to both.
Cody does not use `keepAlive`, nor `keepAliveMsecs` (which defaults to
1s), so this flag should be reflected ~1 hour or so after set on server
side.
## Test plan
-- manual testing with s21 parent 6c81f31 commit caf0e57
3 files changed
Lines changed: 367 additions & 326 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
165 | 170 | | |
166 | 171 | | |
167 | 172 | | |
| |||
0 commit comments