mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-07 09:17:49 +08:00
fix: thread through right context
Co-Authored-By: dirkmc <dirkmdev@gmail.com>
This commit is contained in:
parent
7374929a1d
commit
952bb18eea
@ -554,7 +554,7 @@ The output of blocks happens in strict DAG-traversal, first-seen, order.
|
||||
}
|
||||
|
||||
ctx, cancel := context.WithCancel(req.Context)
|
||||
ctx = exchange.NewSession(req.Context)
|
||||
ctx = exchange.NewSession(ctx)
|
||||
defer cancel()
|
||||
|
||||
// Code disabled until descent-issue in go-ipld-prime is fixed
|
||||
|
||||
Loading…
Reference in New Issue
Block a user