Skip to content
Snippets Groups Projects
Commit 2a9bc372 authored by Otto Visser's avatar Otto Visser
Browse files

Merge branch 'performance' into 'development'

Send push notifications async

See merge request EIP/queue!34
parents 5f7a35ad 7a76866a
No related branches found
No related tags found
1 merge request!34Send push notifications async
......@@ -30,7 +30,7 @@ public class NotificationService {
if (null != subscription) {
try {
pushService.send(notificationFactory.fromSubscription(subscription, notification.toJSON().getBytes()));
pushService.sendAsync(notificationFactory.fromSubscription(subscription, notification.toJSON().getBytes()));
} catch (Exception e ) {
e.printStackTrace();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment