Skip to content

Instantly share code, notes, and snippets.

@anacrolix
Created March 6, 2019 03:21
Show Gist options
  • Save anacrolix/e3a3b8f8b78e943b09e401bd375648ae to your computer and use it in GitHub Desktop.
Save anacrolix/e3a3b8f8b78e943b09e401bd375648ae to your computer and use it in GitHub Desktop.
dial queue completely ignores backoff errors. dial errors end query in first alpha value connect attempts:
> find_providers QmW1UQYrsBotoorzgBcQ3HVj5RzZUzB6g1vQwnNfUuCVdN 10
14:03:32.639 DEBUG dht: not connected. dialing. query.go:244
14:03:32.639 DEBUG dht: not connected. dialing. query.go:244
14:03:32.639 DEBUG dht: not connected. dialing. query.go:244
14:03:32.675 DEBUG dht: error connecting: dial backoff query.go:252
14:03:32.675 DEBUG dht: error connecting: dial backoff query.go:252
14:03:32.675 DEBUG dht: discarding dialled peer because of error: dial backoff dial_queue.go:325
14:03:32.675 DEBUG dht: discarding dialled peer because of error: dial backoff dial_queue.go:325
14:03:32.680 DEBUG dht: error connecting: dial backoff query.go:252
14:03:32.696 DEBUG dht: discarding dialled peer because of error: dial backoff dial_queue.go:325
14:03:32.698 DEBUG dht: query errs: Multiple errors: dial backoff, dial backoff, dial backoff query.go:164
14:03:32.704 DEBUG dht: Query error: dial backoff routing.go:551
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment