mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-24 21:44:38 +00:00
Use a scantime of 30 seconds for scrypt if none is specified.
This commit is contained in:
parent
b196d4fa0c
commit
79dd9dfe13
@ -89,7 +89,7 @@ bool opt_compact;
|
|||||||
const int opt_cutofftemp = 95;
|
const int opt_cutofftemp = 95;
|
||||||
int opt_log_interval = 5;
|
int opt_log_interval = 5;
|
||||||
int opt_queue = 1;
|
int opt_queue = 1;
|
||||||
int opt_scantime = 60;
|
int opt_scantime = -1;
|
||||||
int opt_expiry = 120;
|
int opt_expiry = 120;
|
||||||
static const bool opt_time = true;
|
static const bool opt_time = true;
|
||||||
unsigned long long global_hashrate;
|
unsigned long long global_hashrate;
|
||||||
@ -7203,6 +7203,9 @@ int main(int argc, char *argv[])
|
|||||||
if (want_per_device_stats)
|
if (want_per_device_stats)
|
||||||
opt_log_output = true;
|
opt_log_output = true;
|
||||||
|
|
||||||
|
/* Use a shorter scantime for scrypt */
|
||||||
|
if (opt_scantime < 0)
|
||||||
|
opt_scantime = opt_scrypt ? 30 : 60;
|
||||||
#ifdef USE_USBUTILS
|
#ifdef USE_USBUTILS
|
||||||
usb_initialise();
|
usb_initialise();
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user