Skip to content

Commit 25ce65c

Browse files
author
Lukas Gentele
authored
Update windows_dao.go
1 parent f8b71f8 commit 25ce65c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

windows_dao.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ append_loop:
169169

170170
str := "Environment"
171171
pstr, _ := syscall.UTF16PtrFromString(str)
172-
sendMessageTimeout(win.HWND_BROADCAST, win.WM_WININICHANGE, 0, uintptr(unsafe.Pointer(pstr)), SMTO_ABORTIFHUNG, 5000, 0)
172+
sendMessageTimeout(win.HWND_BROADCAST, win.WM_WININICHANGE, 0, uintptr(unsafe.Pointer(pstr)), SMTO_ABORTIFHUNG, 100, 0)
173173

174174
return nil
175175
}

0 commit comments

Comments
 (0)