- Prompt is a new terminal designed to help you save time and organize your command life.
- Prompt is currently in beta. If you'd like to give feedback, run into problems, have
- questions, or need help, please join the Prompt{" "}
-
- discord server
-
- .
-
-
- Prompt is free to use, no email or registration required (unless you're using the cloud
- features).
-
+ We don’t collect any personal info, only crash logs and IP address to make Wave
+ better. If you like, you can disable telemetry now or late.
+
+
+
+
Basic Telemetry
+
+
+
+
+
+
+
Help
+
+ If you need any help or you have feature request, you can join{" "}
+
+ our Discord
+
+ .
+
+
+
+
+
+
+
Like Wave? Give us a star
+
+ Rankings are very important for small startups like us, it helps other people to
+ know about us. If you like Wave, please consider giving us a star on our{" "}
+
+ Github Repository
+
+ .
+
+
+
+
-
);
diff --git a/wavesrv/pkg/cmdrunner/cmdrunner.go b/wavesrv/pkg/cmdrunner/cmdrunner.go
index 93dbbb1f..316ee40e 100644
--- a/wavesrv/pkg/cmdrunner/cmdrunner.go
+++ b/wavesrv/pkg/cmdrunner/cmdrunner.go
@@ -3677,12 +3677,13 @@ func setNoTelemetry(ctx context.Context, clientData *sstore.ClientData, noTeleme
return fmt.Errorf("error trying to update client telemetry: %v", err)
}
log.Printf("client no-telemetry setting updated to %v\n", noTelemetryVal)
- err = pcloud.SendNoTelemetryUpdate(ctx, clientOpts.NoTelemetry)
- if err != nil {
- // ignore error, just log
- log.Printf("[error] sending no-telemetry update: %v\n", err)
- log.Printf("note that telemetry update has still taken effect locally, and will be respected by the client\n")
- }
+ go func() {
+ err := pcloud.SendNoTelemetryUpdate(ctx, clientOpts.NoTelemetry)
+ if err != nil {
+ log.Printf("[error] sending no-telemetry update: %v\n", err)
+ log.Printf("note that telemetry update has still taken effect locally, and will be respected by the client\n")
+ }
+ }()
return nil
}
@@ -3698,11 +3699,13 @@ func TelemetryOnCommand(ctx context.Context, pk *scpacket.FeCommandPacketType) (
if err != nil {
return nil, err
}
- err = pcloud.SendTelemetry(ctx, false)
- if err != nil {
- // ignore error, but log
- log.Printf("[error] sending telemetry update (in /telemetry:on): %v\n", err)
- }
+ go func() {
+ err := pcloud.SendTelemetry(ctx, false)
+ if err != nil {
+ // ignore error, but log
+ log.Printf("[error] sending telemetry update (in /telemetry:on): %v\n", err)
+ }
+ }()
clientData, err = sstore.EnsureClientData(ctx)
if err != nil {
return nil, fmt.Errorf("cannot retrieve updated client data: %v", err)