Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
flexisip
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
6
Issues
6
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
External Wiki
External Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
BC
public
flexisip
Commits
d29bb052
Commit
d29bb052
authored
Mar 26, 2018
by
Simon Morlat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No need to wait 10ms to start next push notification
parent
fcb2bfdc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
pushnotificationclient.cc
src/pushnotification/pushnotificationclient.cc
+1
-1
No files found.
src/pushnotification/pushnotificationclient.cc
View file @
d29bb052
...
...
@@ -178,7 +178,7 @@ using namespace std;
polls
.
fd
=
fdSocket
;
polls
.
events
=
POLLIN
;
int
timeout
=
hurryUp
?
1
0
:
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment