Commit da06a348d084f81f85676bc190966e2d26c102d5

Con Kolivas 2011-07-28T10:03:31

The work length in the miner thread gets smaller but doesn't get bigger if it's under 1 second. This could end up leading to CPU under-utilisation and lower and lower hash rates. Fix it by increasing work length if it drops under 1 second.