Post
Topic
Board Pools (Altcoins)
Re: [ANN] profit switching auto-exchanging pool - middlecoin.com
by
ripsnort
on 04/01/2014, 21:42:41 UTC
There are currently some network issues with coin switching. It occasionally doesn't switch, and hangs for 20 seconds or so. This seems to happen once in every 5 switches or so.

I'm working on a fix, but in the mean time if you want a workaround, and you can are ok with recompiling cgminer, you can:

in https://github.com/ckolivas/cgminer/blob/master/util.c

change:

Code:
const int tcp_keepidle = 45;
const int tcp_keepintvl = 30;
to:

Code:
const int tcp_keepidle = 5;
const int tcp_keepintvl = 4;

These occur twice in the file.

Thanks to `Kevin on IRC for this.




Does anyone know whether the above changes are the same as the 5-minute failover interval that is discussed at below links?  Just wondering if there are additional improvements that can still be made.

https://bitcointalk.org/index.php?topic=293872.msg4293143#msg4293143

https://litecointalk.org/index.php?topic=6925.0