mirror of
https://github.com/logos-messaging/storenode-messages-counter.git
synced 2026-01-05 23:53:10 +00:00
chore: remove deletes
This commit is contained in:
parent
28ebec575e
commit
c80a625423
@ -475,7 +475,7 @@ func (app *Application) fetchStoreNodeMessages(ctx context.Context, runId string
|
|||||||
success := false
|
success := false
|
||||||
count := 1
|
count := 1
|
||||||
for retry && count <= maxAttempts {
|
for retry && count <= maxAttempts {
|
||||||
queryLogger.Info("retrieving message history for topic!", zap.Int("attempt", count))
|
queryLogger.Info("retrieving message history for topic", zap.Int("attempt", count))
|
||||||
|
|
||||||
tCtx, cancel := context.WithTimeout(ctx, 1*time.Minute)
|
tCtx, cancel := context.WithTimeout(ctx, 1*time.Minute)
|
||||||
result, err = app.node.Store().Query(tCtx, store.FilterCriteria{
|
result, err = app.node.Store().Query(tCtx, store.FilterCriteria{
|
||||||
|
|||||||
@ -121,10 +121,6 @@ func NewDBStore(clusterID uint, fleetName string, log *zap.Logger, options ...DB
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
result.db.Exec("DELETE FROM synctopicstatus WHERE clusterid = 16 AND fleet IN( 'waku-sandbox', 'waku-test', 'status.stagging') ")
|
|
||||||
result.db.Exec("DELETE FROM missingmessages WHERE clusterid = 16 AND fleet IN( 'waku-sandbox', 'waku-test', 'status.stagging') ")
|
|
||||||
result.db.Exec("DELETE FROM storenodeunavailable WHERE fleet = 'status.stagging'")
|
|
||||||
|
|
||||||
return result, nil
|
return result, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user