revert things
This commit is contained in:
@@ -140,9 +140,27 @@ export const asyncExecShellStream = async ({
|
||||
|
||||
export const asyncSleep = (delay: number): Promise<unknown> =>
|
||||
new Promise((resolve) => setTimeout(resolve, delay));
|
||||
export const prisma = () => {
|
||||
return null
|
||||
}
|
||||
export const prisma = new PrismaClient({
|
||||
errorFormat: 'minimal'
|
||||
// log: [
|
||||
// {
|
||||
// emit: 'event',
|
||||
// level: 'query',
|
||||
// },
|
||||
// {
|
||||
// emit: 'stdout',
|
||||
// level: 'error',
|
||||
// },
|
||||
// {
|
||||
// emit: 'stdout',
|
||||
// level: 'info',
|
||||
// },
|
||||
// {
|
||||
// emit: 'stdout',
|
||||
// level: 'warn',
|
||||
// },
|
||||
// ],
|
||||
});
|
||||
|
||||
// prisma.$on('query', (e) => {
|
||||
// console.log({e})
|
||||
|
@@ -18,10 +18,10 @@ const options: any = {
|
||||
}
|
||||
}
|
||||
},
|
||||
// jobs: [
|
||||
// { name: 'infrastructure' },
|
||||
// { name: 'deployApplication' },
|
||||
// ],
|
||||
jobs: [
|
||||
{ name: 'infrastructure' },
|
||||
{ name: 'deployApplication' },
|
||||
],
|
||||
};
|
||||
if (isDev) options.root = path.join(__dirname, '../jobs');
|
||||
|
||||
|
Reference in New Issue
Block a user