Skip to content

Commit

Permalink
Set timeout for pasteboard to 30 seconds rather than 2 (for slow prov…
Browse files Browse the repository at this point in the history
…iders).
  • Loading branch information
rfm committed Feb 20, 2024
1 parent 53cb373 commit cff4f39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/NSPasteboard.m
Original file line number Diff line number Diff line change
Expand Up @@ -1999,7 +1999,7 @@ + (id) _lostServer: (NSNotification*)notification
Protocol *p = @protocol(GSPasteboardSvr);

[conn enableMultipleThreads];
[conn setReplyTimeout:2.0];
[conn setReplyTimeout: 30.0];
[(id)the_server setProtocolForProxy: p];
[[NSNotificationCenter defaultCenter]
addObserver: self
Expand Down

0 comments on commit cff4f39

Please sign in to comment.