FirebaseExtended / firebase-queue

MIT License
786 stars 108 forks source link

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

Open Castafiore opened 6 years ago

Castafiore commented 6 years ago

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!

doowb commented 6 years ago

@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?

dflourusso commented 5 years ago

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