Comments (3)
It seems like a race condition is putting the queue back into a pause state immediately after it has been resumed. I would start by checking to see if the _queueIterator
is even being invoked after .resume()
At a lower level, the queue might decide to not process the next item if any of these conditions pass: https://github.com/qualiancy/breeze-queue/blob/master/lib/queue.js#L200-L203
I'll see what else I can find....
from apnagent.
Theory: when the last item is sent I don't see a "cache push" notification for id 434787
which would occur here. Coincidentally, that is when next
would be called, thus reducing the worker count for the queue. Then, once resume is called it the queue thinks all the workers are still busy so it never invokes the queue iterator for the next item in the queue.
from apnagent.
Hi, i am seeing similar behaviour, i send lots of events one by one but sometimes it works but sometimes only one or two got delivered and the rest just gone. Is there a simple way to push the queue, like forcing to call process every once in a while with a timeout?
from apnagent.
Related Issues (20)
- Where is 'error mitigation' section HOT 1
- TypeError: value is out of bounds HOT 1
- Queue is never restarted after SSL error HOT 7
- Agents randomly stop reconnecting HOT 1
- Consistent memory leaks HOT 6
- sending push in bulk HOT 3
- Site Down HOT 3
- Change to APNS HOT 1
- Sending push notifications in production environment not working HOT 2
- node agent/_header.js HOT 1
- Seeking Maintainer
- Decoder Stream 11 not implemented HOT 9
- Can't use agent on openshift server HOT 10
- APN agent connected coming false HOT 2
- Notification not received when device come from offline to online HOT 2
- sending MDM push notification to APNS
- does not accept "title" as part of the "alert" HOT 5
- Increment Badge Count HOT 1
- Collapse-id HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apnagent.