Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pull again! #25

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
启动方式调整....
  • Loading branch information
zhangzonglin committed Feb 3, 2018
commit f0efa736c61a915d98054fc5ba2773a40f6da39e
2 changes: 1 addition & 1 deletion mpush-boot/src/main/java/com/mpush/bootstrap/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public static void main(String[] args) {
Logs.init();
Logs.Console.info("launch mpush server...");
ServerLauncher launcher = new ServerLauncher();
launcher.init();
// launcher.init();
launcher.start();
addHook(launcher);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ public void init() {
}

public void start() {
init();
chain.start();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public void testPush() throws Exception {

PushContext context = PushContext.build(msg)
.setAckModel(AckModel.AUTO_ACK)
.setUserId("user-" + i)
.setUserId("20")
.setBroadcast(false)
//.setTags(Sets.newHashSet("test"))
//.setCondition("tags&&tags.indexOf('test')!=-1")
Expand Down