Post
Topic
Board Pools (Altcoins)
Re: [ANN] profit switching auto-exchanging pool - middlecoin.com
by
h2odysee
on 30/12/2013, 00:33:43 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.