kubo/core
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
..
bootstrap chore: bump go-libp2p v0.22.0 & go1.18&go1.19 2022-09-09 17:09:38 +02:00
commands feat: add heap allocs to 'ipfs diag profile' 2023-03-20 10:05:43 +01:00
coreapi feat(pinning): connect some missing go context (#9557) 2023-02-22 16:56:59 +01:00
corehttp fix: canonicalize user defined headers 2023-03-20 10:05:58 +01:00
corerepo refactor: rename to kubo 2022-07-06 18:40:37 +02:00
coreunix feat(pinning): connect some missing go context (#9557) 2023-02-22 16:56:59 +01:00
mock chore: bump go-libp2p v0.22.0 & go1.18&go1.19 2022-09-09 17:09:38 +02:00
node fix: remove timeout on default DHT operations (#9783) 2023-04-04 10:23:55 +02:00
.gitignore ignore testdb 2014-07-05 15:04:04 -07:00
builder.go fix: silence staticcheck warning for fx.Extract usage 2022-12-12 03:47:17 +01:00
core_test.go feat: Routing.Type=auto (DHT+IPNI) (#9475) 2022-12-08 23:20:24 +01:00
core.go feat: Delegated routing with custom configuration. (#9274) 2022-09-22 15:47:45 +02:00