Skip to content

Commit

Permalink
Use Libmacgpg's keyserver timeout.
Browse files Browse the repository at this point in the history
No need to explicitly set the keyserver timout, because Libmacgpg already sets it.
  • Loading branch information
Mento committed Jan 2, 2019
1 parent 0424ad8 commit f7abcc9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion Source/ActionController.m
Expand Up @@ -3100,7 +3100,6 @@ - (id)init {
// The printVersion is managed through gpg.conf via the emit-version and no-emit-version options. Do not override here.
//gpgc.printVersion = YES;
gpgc.async = YES;
gpgc.keyserverTimeout = 20;

showExpertSettings = [[GPGOptions sharedOptions] boolForKey:@"showExpertSettings"];
if (showExpertSettings) {
Expand Down
1 change: 0 additions & 1 deletion Source/PreferencesController.m
Expand Up @@ -249,7 +249,6 @@ - (IBAction)checkKeyserver:(id)sender {
self.gpgc = [GPGController gpgController];
self.gpgc.keyserver = self.keyserverToCheck;
self.gpgc.delegate = self;
self.gpgc.keyserverTimeout = 10;
[spinner startAnimation:nil];
self.testingServer = YES;

Expand Down

1 comment on commit f7abcc9

@SteveBell
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.