Skip to content

Commit

Permalink
chore: remove pubsub
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusgnreis committed Jan 15, 2024
1 parent ed390e3 commit 8b1298f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions functions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,10 @@ exports.updateTokens = functions.pubsub.schedule(cron).onRun(() => {
console.log(`-- Sheduled update E-Com Plus tokens '${cron}'`)

// update token job bling
const createAccess = require('./lib/bling-auth/create-access')
/* const createAccess = require('./lib/bling-auth/create-access')
const queueCreateAccess = 'every 9 mins'
exports.scheduledSyncBlingToken = functions.pubsub.schedule(queueCreateAccess).onRun(createAccess)
console.log(`-- Sheduled active access from bling '${queueCreateAccess}'`)
console.log(`-- Sheduled active access from bling '${queueCreateAccess}'`) */

// schedule active check queues from Store API
const checkIdleQueues = require('./lib/integration/check-idle-queues')
Expand Down

0 comments on commit 8b1298f

Please sign in to comment.