Skip to content

Commit 7af2de7

Browse files
committed
stop listening changes in storage and flist Changes
1 parent 5e9fb91 commit 7af2de7

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

pkg/environment/environment.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ const (
127127
var (
128128
pool substrate.Manager
129129
subURLs []string
130-
// poolOnce sync.Once
131130

132131
envDev = Environment{
133132
RunningMode: RunningDev,
@@ -330,7 +329,6 @@ func getEnvironmentFromParams(params kernel.Params) (Environment, error) {
330329
env = envProd
331330
}
332331

333-
// update it to read local config file instead of trying to download config over and over again
334332
config, err := getConfig(env.RunningMode, baseExtendedURL, http.DefaultClient)
335333
if err != nil {
336334
// maybe the node can't reach the internet right now

pkg/events/events.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ func (e *Processor) subscribe(ctx context.Context) error {
179179
newCL, NewMeta, err := e.sub.Raw()
180180
if err != nil {
181181
log.Debug().Err(err).Msg("failed to update substrate connection")
182+
continue
182183
}
183184

184185
// only update cl and mata after creating the new connection successfully

0 commit comments

Comments
 (0)