Commit d29bb052 authored by Simon Morlat's avatar Simon Morlat

No need to wait 10ms to start next push notification

parent fcb2bfdc
......@@ -178,7 +178,7 @@ using namespace std;
polls.fd = fdSocket;
polls.events = POLLIN;
int timeout = hurryUp ? 10 : 1000; /*if there are many pending push notification request in our queue, we will not wait
int timeout = hurryUp ? 0 : 1000; /*if there are many pending push notification request in our queue, we will not wait
the answer from the server (we are in the case where there is an answer ONLY if the push request had an error*/
int nRet = poll(&polls, 1, timeout);
// this is specific to iOS which does not send a response in case of success
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment