Skip to content

Commit

Permalink
Close sql connection
Browse files Browse the repository at this point in the history
  • Loading branch information
vrtnd committed Jun 26, 2023
1 parent 2691298 commit 247754e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ export const runAllAdaptersTimestampRange = async (
);
await adapterPromises;
}
await sql.end();
// need better error catching
console.log("runAllAdaptersTimestampRange successfully ran.");
};
Expand Down

0 comments on commit 247754e

Please sign in to comment.