Skip to content

Commit

Permalink
Disable DB update for now
Browse files Browse the repository at this point in the history
  • Loading branch information
LunaUrsa committed May 12, 2024
1 parent a490fda commit 6a739b8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -376,3 +376,6 @@ src/example/
src/assets/ts_data.json
src/assets/reminders.json

assets/data/combinedDB.json
assets/data/tripsitCombos.json
assets/data/tripsitDB.json
3 changes: 2 additions & 1 deletion src/start.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ async function start() {
if (validateEnv('SERVICES')) {
api();
global.db = new PrismaClient({ log: ['error'] });
if (env.NODE_ENV === 'production') await updateDb();
// if (env.NODE_ENV === 'production') await updateDb();
// await updateDb();
if (env.DISCORD_CLIENT_TOKEN && validateEnv('DISCORD')) await discordConnect();
// if (env.MATRIX_ACCESS_TOKEN && validateEnv( 'MATRIX') && env.NODE_ENV !== 'production') await startMatrix();
// if (env.IRC_PASSWORD && validateEnv('IRC') && env.NODE_ENV !== 'production') ircConnect();
Expand Down

0 comments on commit 6a739b8

Please sign in to comment.