mirror of
https://github.com/eosswedenorg/thalos
synced 2026-06-18 04:40:03 +02:00
Merge branch 'performance-fix'
# Conflicts: # go.mod # go.sum # redis.go
This commit is contained in:
commit
c13b2d49c6
11 changed files with 1101 additions and 24 deletions
|
|
@ -63,10 +63,15 @@ func processTraces(traces []*ship.TransactionTraceV0) {
|
|||
}
|
||||
|
||||
for _, channel := range channels {
|
||||
if err := RedisPublish(channel, payload).Err(); err != nil {
|
||||
if err := RedisRegisterPublish(channel, payload).Err(); err != nil {
|
||||
log.Printf("Failed to post to channel '%s': %s", channel, err)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
_, err := RedisSend()
|
||||
if err != nil {
|
||||
log.Println("Failed to send redis command:", err)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue