kubo/core/node
Gus Eggert e80dadd1a4 fix: remove timeout on default DHT operations (#9783)
* fix: remove timeout on default DHT operations

This removes the timeout by default for DHT operations. In particular
this causes issues with ProvideMany requests which can take an
indeterminate amount of time, but really these should just respect
context timeouts by default. Users can still specify timeouts here if
they want, but by default they will be set to "0" which means "no
timeout".

This is unlikely to break existing users of custom routing, because
there was previously no utility in configuring a router with timeout=0
because that would cause the router to immediately fail, so it is
unlikely (and incorrect) if anybody was using timeout=0.

* fix: remove 5m timeout on ProvideManyRouter

For context see
5fda291b66

---------

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2023-04-04 10:23:55 +02:00
..
helpers constructor: move libp2p related stuff to subpackage 2019-04-23 13:30:25 +02:00
libp2p fix: remove timeout on default DHT operations (#9783) 2023-04-04 10:23:55 +02:00
bitswap.go chore: bump go-libipfs remove go-bitswap 2023-01-27 23:07:01 +01:00
builder.go chore: bump go-libp2p v0.22.0 & go1.18&go1.19 2022-09-09 17:09:38 +02:00
core.go refactor: rename to kubo 2022-07-06 18:40:37 +02:00
dns.go refactor: rename to kubo 2022-07-06 18:40:37 +02:00
graphsync.go chore: bump go-libp2p v0.22.0 & go1.18&go1.19 2022-09-09 17:09:38 +02:00
groups.go feat: Reduce RM code footprint 2023-03-06 12:46:58 +01:00
helpers.go fmt: applies go1.19 fmt 2022-09-08 18:34:06 +02:00
identity.go chore: bump go-libp2p v0.22.0 & go1.18&go1.19 2022-09-09 17:09:38 +02:00
ipns.go feat: Delegated routing with custom configuration. (#9274) 2022-09-22 15:47:45 +02:00
peering.go chore: bump go-libp2p v0.22.0 & go1.18&go1.19 2022-09-09 17:09:38 +02:00
provider.go feat: Routing.Type=auto (DHT+IPNI) (#9475) 2022-12-08 23:20:24 +01:00
storage.go feat: Reduce RM code footprint 2023-03-06 12:46:58 +01:00