You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the worker naively retries every failed export:
// start starts a worker by listening for new jobs (block heights) from the// given worker queue. Any failed job is logged and re-enqueued.func (wworker) start() {
fori:=rangew.queue {
iferr:=w.process(i); err!=nil {
// re-enqueue any failed job// TODO: Implement exponential backoff or max retries for a block height.gofunc() {
log.Printf("re-enqueueing failed block %d\n", i)
w.queue<-i
}()
}
}
}
A better approach is needed to not continuously retry the same heights.
The text was updated successfully, but these errors were encountered:
Currently the worker naively retries every failed export:
A better approach is needed to not continuously retry the same heights.
The text was updated successfully, but these errors were encountered: