File tree Expand file tree Collapse file tree
atrium-telegram/server/plugins
core-telegram/server/plugins
hub-telegram/server/plugins Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ import { queue } from '@roll-stack/queue'
77export default defineNitroPlugin ( async ( ) => {
88 const logger = useLogger ( 'plugin:start-queue' )
99
10+ // Skip for now
11+ return
12+
1013 if ( process . env . NODE_ENV !== 'production' && ! process . env . QUEUE_URL ) {
1114 logger . info ( 'Skipping in non-production environment' )
1215 return
Original file line number Diff line number Diff line change @@ -8,6 +8,9 @@ import { setupConsumers } from '../services/queue'
88export default defineNitroPlugin ( async ( ) => {
99 const logger = useLogger ( 'plugin:start-queue' )
1010
11+ // Skip for now
12+ return
13+
1114 if ( process . env . NODE_ENV !== 'production' && ! process . env . QUEUE_URL ) {
1215 logger . info ( 'Skipping in non-production environment' )
1316 return
Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ import { queue } from '@roll-stack/queue'
77export default defineNitroPlugin ( async ( ) => {
88 const logger = useLogger ( 'plugin:start-queue' )
99
10+ // Skip for now
11+ return
12+
1013 if ( process . env . NODE_ENV !== 'production' && ! process . env . QUEUE_URL ) {
1114 logger . info ( 'Skipping in non-production environment' )
1215 return
Original file line number Diff line number Diff line change @@ -79,8 +79,8 @@ export default defineNuxtConfig({
7979 '* * * * *' : [ 'task:auto-create' ] , // Every minute
8080 '0 * * * *' : [ 'kitchen:revenue-update' ] , // Every hour
8181 '0 0 * * *' : [ 'kitchen:rating-update' ] , // Every day
82- '0 17 * * 1-5' : [ 'ai:daily-report' ] , // Mon-Fri 17:00
83- '30 17 * * 5' : [ 'ai:weekly-report' ] , // Friday 17:30
82+ // '0 17 * * 1-5': ['ai:daily-report'], // Mon-Fri 17:00
83+ // '30 17 * * 5': ['ai:weekly-report'], // Friday 17:30
8484 } ,
8585 } ,
8686 tiptap : {
Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ import { queue } from '@roll-stack/queue'
77export default defineNitroPlugin ( async ( ) => {
88 const logger = useLogger ( 'plugin:start-queue' )
99
10+ // Skip for now
11+ return
12+
1013 if ( process . env . NODE_ENV !== 'production' && ! process . env . QUEUE_URL ) {
1114 logger . info ( 'Skipping in non-production environment' )
1215 return
You can’t perform that action at this time.
0 commit comments