Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Commit

Permalink
fix: remove buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
jon4hz committed Dec 21, 2022
1 parent 408ae6e commit d01969c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/dero-stratum-miner/miner.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ func (c *Client) getwork() {
continue
}

jobListener := c.stratum.NewJobListener(4)
jobListener := c.stratum.NewJobListener(0)
defer jobListener.Close()

respListener := c.stratum.NewResponseListener(2)
respListener := c.stratum.NewResponseListener(0)
go c.listenStratumResponses(respListener)

for {
Expand Down

0 comments on commit d01969c

Please sign in to comment.