Set initial start time in the stratum loop to zero to guarantee we get a new workbase immediately
This commit is contained in:
parent
01240af44d
commit
099701f26b
@ -1103,10 +1103,9 @@ static int stratum_loop(ckpool_t *ckp, proc_instance_t *pi)
|
||||
{
|
||||
int sockd, ret = 0, selret = 0;
|
||||
unixsock_t *us = &pi->us;
|
||||
tv_t start_tv = {0, 0};
|
||||
char *buf = NULL;
|
||||
tv_t start_tv;
|
||||
|
||||
tv_time(&start_tv);
|
||||
retry:
|
||||
do {
|
||||
if (!ckp->proxy) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user