Skip to content

Commit

Permalink
Merge pull request DiceDB#1123 from DiceDB/ping2-source
Browse files Browse the repository at this point in the history
Source for Ping telemetry changed for schema adherence
  • Loading branch information
arpitbbhayani authored Oct 17, 2024
2 parents c9170f1 + 3f6d711 commit 467adad
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ type Config struct {
EnableMultiThreading bool `mapstructure:"enablemultithreading"`
StoreMapInitSize int `mapstructure:"storemapinitsize"`
AdhocReqChanBufSize int `mapstructure:"adhocreqchanbufsize"`
EnableProfiling bool `mapstructure:"profiling"`
EnableProfiling bool `mapstructure:"profiling"`
} `mapstructure:"performance"`

Memory struct {
Expand Down Expand Up @@ -160,7 +160,7 @@ var baseConfig = Config{
EnableMultiThreading bool `mapstructure:"enablemultithreading"`
StoreMapInitSize int `mapstructure:"storemapinitsize"`
AdhocReqChanBufSize int `mapstructure:"adhocreqchanbufsize"`
EnableProfiling bool `mapstructure:"profiling"`
EnableProfiling bool `mapstructure:"profiling"`
}{
WatchChanBufSize: 20000,
ShardCronFrequency: 1 * time.Second,
Expand Down
1 change: 0 additions & 1 deletion internal/eval/eval.go
Original file line number Diff line number Diff line change
Expand Up @@ -3921,7 +3921,6 @@ func evalSINTER(args []string, store *dstore.Store) []byte {
return clientio.Encode(members, false)
}


func evalHLEN(args []string, store *dstore.Store) []byte {
if len(args) != 1 {
return diceerrors.NewErrArity("HLEN")
Expand Down
2 changes: 1 addition & 1 deletion internal/observability/ping.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type PingPayload struct {
const (
token = "p.eyJ1IjogIjhjNWQxMjdlLTczZmYtNGRjZS04Mzk5LTQyMDU0MThhYjc2OSIsI" +
"CJpZCI6ICJhZjcxNGExNC0xZWQyLTQ3ZDktOTM0MS0xMzgwNWNiOWFhNDYiLCAiaG9zdCI6ICJ1cy1lYXN0LWF3cyJ9.o9LqZqTZ9YkhbcusZOltsm95RzVQUzJLQOHV2YA7L0E"
url = "https://api.us-east.aws.tinybird.co/v0/events?name=ping"
url = "https://api.us-east.aws.tinybird.co/v0/events?name=ping2"
)

type DBConfig struct {
Expand Down

0 comments on commit 467adad

Please sign in to comment.