parent
8a2131416d
commit
4fab67b0f5
|
@ -179,7 +179,7 @@ public class APNSender implements Managed {
|
||||||
this.apnService = Optional.of(APNS.newService()
|
this.apnService = Optional.of(APNS.newService()
|
||||||
.withCert(new ByteArrayInputStream(keyStore), "insecure")
|
.withCert(new ByteArrayInputStream(keyStore), "insecure")
|
||||||
.asQueued()
|
.asQueued()
|
||||||
.withSandboxDestination().build());
|
.withProductionDestination().build());
|
||||||
|
|
||||||
this.executor.scheduleAtFixedRate(new FeedbackRunnable(), 0, 1, TimeUnit.HOURS);
|
this.executor.scheduleAtFixedRate(new FeedbackRunnable(), 0, 1, TimeUnit.HOURS);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue