mirror of
https://github.com/8lecramm/derohe-proxy.git
synced 2025-01-10 13:57:56 +00:00
#1 fix concurrent connection write
This commit is contained in:
parent
b70dd78483
commit
3ba55712a7
@ -214,7 +214,7 @@ func newUpgrader() *websocket.Upgrader {
|
|||||||
// Update miners information
|
// Update miners information
|
||||||
return
|
return
|
||||||
} else {
|
} else {
|
||||||
go SendToDaemon(data)
|
SendToDaemon(data)
|
||||||
if !config.Pool_mode {
|
if !config.Pool_mode {
|
||||||
fmt.Printf("%v Submitting result from miner: %v, Wallet: %v\n", time.Now().Format(time.Stamp), c.RemoteAddr().String(), client_list[c].address.String())
|
fmt.Printf("%v Submitting result from miner: %v, Wallet: %v\n", time.Now().Format(time.Stamp), c.RemoteAddr().String(), client_list[c].address.String())
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user