Skip to content

Commit

Permalink
revert connection retry logic
Browse files Browse the repository at this point in the history
revert connection retry logic
  • Loading branch information
soorajshankar authored Jul 30, 2021
2 parents fb0fa45 + bb92938 commit c0a2778
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "db_lens",
"productName": "DB Lens",
"description": "A DB client made for developers.",
"version": "0.0.1-beta.0",
"version": "0.0.1-beta.1",
"scripts": {
"build": "concurrently \"yarn build:main\" \"yarn build:renderer\"",
"build:main": "cross-env NODE_ENV=production webpack --config ./.erb/configs/webpack.config.main.prod.babel.js",
Expand Down
4 changes: 2 additions & 2 deletions src/electron/DBHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ export const connectDB = async ({
connections[uuid] = { client, window };
return { status: 'CONNECTED', uuid };
} catch (error) {
return { status: 'FAILED', uuid, error };
// console.log(error);
// return { status: 'FAILED', uuid, error };
console.log(error);
}

// retry with ssl
Expand Down
2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "db_lens",
"productName": "DB Lens",
"description": "A DB client made for developers.",
"version": "0.0.1-beta.0",
"version": "0.0.1-beta.1",
"main": "./main.prod.js",
"author": {
"name": "Soorajshankar",
Expand Down

0 comments on commit c0a2778

Please sign in to comment.