Skip to content

Commit

Permalink
feat: set connect timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
KatoakDR committed Feb 7, 2024
1 parent 81c5bd9 commit 41b21f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions electron/main/sge/socket/connect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export const connect = async (
const defaultOptions: tls.ConnectionOptions = {
host: 'eaccess.play.net',
port: 7910,
timeout: 5000,
};

let mergedOptions = merge(defaultOptions, connectOptions);
Expand Down

0 comments on commit 41b21f6

Please sign in to comment.