mirror of
https://github.com/kvazar-network/keva-stratum.git
synced 2025-01-27 07:14:50 +00:00
Reset conn deadline on broadcast
This commit is contained in:
parent
f6af9a3d4a
commit
32b595045f
@ -107,6 +107,8 @@ func (s *StratumServer) broadcastNewJobs() {
|
||||
if err != nil {
|
||||
log.Printf("Job transmit error to %v@%v: %v", miner.Login, miner.IP, err)
|
||||
s.removeMiner(miner.Id)
|
||||
} else {
|
||||
s.setDeadline(miner.Session.conn)
|
||||
}
|
||||
}(m.Val)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user