firebase-queue icon indicating copy to clipboard operation
firebase-queue copied to clipboard

Firebase-queue cannot receive any request when client pushes tasks onto corresponding queue reference

Open Castafiore opened this issue 7 years ago • 2 comments

Version info

Firebase: 4.8.1

Firebase Queue: 1.6.1 Firebase Admin: 5.5.1

Node.js: 6 or 7

Test case

I have followed all instructions of creating queue work and pushing tasks onto corresponding queue reference, but when I push task and I have seen pushed task data has been inserted into firebase database, but the queue doesn't listener and receive any tasks. It is very weird. Below is sequentially package.json, queueWork.js, firebaseRef.js, screen shot 2017-12-24 at 7 30 38 pm screen shot 2017-12-24 at 7 31 07 pm screen shot 2017-12-24 at 7 29 51 pm

Anyone can help me out, thanx!

Castafiore avatar Dec 24 '17 11:12 Castafiore

@Castafiore since you're passing a specId of focus_task on the queueOptions, did you also define the custom spec in the firebase database itself?

doowb avatar Dec 26 '17 16:12 doowb

I've created an alternative for simple queue implementation https://github.com/dflourusso/firebase-simple-queue

dflourusso avatar Aug 24 '18 11:08 dflourusso