Skip to content

Conversation

dirkmc
Copy link
Contributor

@dirkmc dirkmc commented Nov 5, 2021

Add a struct to keep track of deal execution (instead of passing around parameters)

Depends on #19

@dirkmc dirkmc force-pushed the refactor/provider branch from 9711d11 to 0b9f32e Compare November 5, 2021 15:09
Base automatically changed from feat/db-obj-translation to main November 10, 2021 07:36
dirkmc and others added 3 commits November 10, 2021 08:41
* feat: grapql subscriptions and mutations

* Implement dummy deal API (#22)

* feat: implement dummy deal API

* Update node/impl/boost.go

Co-authored-by: Anton Evangelatov <anton.evangelatov@gmail.com>

* Update node/impl/boost.go

Co-authored-by: Anton Evangelatov <anton.evangelatov@gmail.com>

* feat: add react subscription / mutations (#23)

Co-authored-by: Anton Evangelatov <anton.evangelatov@gmail.com>

Co-authored-by: Anton Evangelatov <anton.evangelatov@gmail.com>
@dirkmc dirkmc merged commit 645309b into main Nov 10, 2021
@dirkmc dirkmc deleted the refactor/provider branch November 10, 2021 07:42
Comment on lines +92 to +94
acceptDealsChan: make(chan acceptDealReq, 128),
failedDealsChan: make(chan failedDealReq, 128),
restartDealsChan: make(chan restartReq, 128),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dirkmc @aarshkshah1992 i think this is dangerous - if we have a bug in our code, we won't notice a deadlock, until we hit 128 deals... this channel should be unbuffered IMO as a start... also why 128 and not 1 or 10 or 20?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants