Disable job scheduler SQL queries logging
authorChocobozzz <me@florianbigard.com>
Mon, 8 Jan 2018 09:52:15 +0000 (10:52 +0100)
committerChocobozzz <me@florianbigard.com>
Mon, 8 Jan 2018 09:52:15 +0000 (10:52 +0100)
server/models/job/job.ts

index 637d4f16c26930842c7e46dca8e435cb524b39a2..ba1c6737ee4b888cc103ae8030e70df9babc2e06 100644 (file)
@@ -44,7 +44,8 @@ export class JobModel extends Model<JobModel> {
       where: {
         state,
         category: jobCategory
-      }
+      },
+      logging: false
     }
 
     return JobModel.findAll(query)