Skip to content

Commit

Permalink
chore(task): add debug
Browse files Browse the repository at this point in the history
  • Loading branch information
wisley7l committed Sep 6, 2024
1 parent 678462c commit e45194f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions functions/lib/tasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,10 +207,10 @@ const handleWorker = async () => {
}
const query = notificationRef
.where('ready_at', '<=', admin.firestore.Timestamp.now().toMillis())
.orderBy('ready_at').limit(450)
.orderBy('ready_at').limit(400)

const notificationDocs = await query.get()
// console.log('notification docs', notificationDocs.empty)
console.log('notification docs', notificationDocs.empty)
const storeIds = []
if (!notificationDocs.empty) {
const docsToRun = []
Expand Down

0 comments on commit e45194f

Please sign in to comment.