mirror of
https://github.com/hashcat/hashcat.git
synced 2025-02-23 04:52:03 +00:00
updated default build timeout on Apple Metal to 120 seconds
This commit is contained in:
parent
5f332995bc
commit
5ac38b381d
@ -742,8 +742,8 @@ int hc_mtlCreateKernel (void *hashcat_ctx, mtl_device_id metal_device, mtl_libra
|
|||||||
dispatch_group_t group = dispatch_group_create ();
|
dispatch_group_t group = dispatch_group_create ();
|
||||||
dispatch_queue_t queue = dispatch_get_global_queue (DISPATCH_QUEUE_PRIORITY_DEFAULT, 0);
|
dispatch_queue_t queue = dispatch_get_global_queue (DISPATCH_QUEUE_PRIORITY_DEFAULT, 0);
|
||||||
|
|
||||||
// wait for 60 secs by default or using user-defined runtime if is set
|
// wait for 120 secs by default or using user-defined runtime if is set
|
||||||
long timeout = (user_options->runtime > 0) ? user_options->runtime : 60;
|
long timeout = (user_options->runtime > 0) ? user_options->runtime : 120;
|
||||||
|
|
||||||
dispatch_time_t when = dispatch_time (DISPATCH_TIME_NOW,NSEC_PER_SEC * timeout);
|
dispatch_time_t when = dispatch_time (DISPATCH_TIME_NOW,NSEC_PER_SEC * timeout);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user