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:
parent
014d43b06a
commit
8759bc13ab
2
main.c
2
main.c
@ -4696,7 +4696,7 @@ static bool active_device(int thr_id)
|
|||||||
* died. */
|
* died. */
|
||||||
static void *watchdog_thread(void *userdata)
|
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;
|
static struct timeval rotate_tv;
|
||||||
struct timeval zero_tv;
|
struct timeval zero_tv;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user