Commit 77c6ac6
committed
gopls/internal/telemetry: don't schedule the next upload
The telemetry upload package implementation queries UploadConfig
only once and reuses it throughout the process lifetime. So, periodic
upload doesn't work. Assume users frequently restart gopls or eventually
we will move the upload logic to go which is frequently invoked, and
run upload only once at the start up.
It's still better to clean up the cached upload config object
after upload is complete.
Fixes golang/go#62405
Change-Id: I39395cf876d9f0e570a71da5284420f570dcdc6b
Reviewed-on: https://go-review.googlesource.com/c/tools/+/524819
TryBot-Result: Gopher Robot <[email protected]>
Run-TryBot: Hyang-Ah Hana Kim <[email protected]>
Reviewed-by: Peter Weinberger <[email protected]>1 parent 010e045 commit 77c6ac6
1 file changed
+2
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
| |||
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 21 | + | |
| 22 | + | |
30 | 23 | | |
31 | 24 | | |
32 | 25 | | |
| |||
0 commit comments