1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-05 11:34:16 +00:00

Hard code the watchdog interval to 3 seconds in case log interval is greatly different.

This commit is contained in:
Con Kolivas 2011-09-23 10:59:55 +10:00
parent 014d43b06a
commit 8759bc13ab

2
main.c
View File

@ -4696,7 +4696,7 @@ static bool active_device(int thr_id)
* died. */
static void *watchdog_thread(void *userdata)
{
const unsigned int interval = opt_log_interval / 2 ? : 1;
const unsigned int interval = 3;
static struct timeval rotate_tv;
struct timeval zero_tv;