Skip to content

Commit

Permalink
bump timeout on mdfind from 30 to 60 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
James-Pickett committed Jul 28, 2023
1 parent 79111e6 commit 1269020
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/osquery/table/mdfind_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
)

func mdfind(args ...string) ([]string, error) {
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
ctx, cancel := context.WithTimeout(context.Background(), 60*time.Second)
defer cancel()

path := "/usr/bin/mdfind"
Expand Down

0 comments on commit 1269020

Please sign in to comment.