Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
43 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
mpush-test/src/test/java/com/mpush/test/connection/severs/Main.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.mpush.test.connection.severs; | ||
|
||
/** | ||
* Created by yxx on 2016/5/16. | ||
* | ||
* @author ohun@live.cn | ||
*/ | ||
public class Main { | ||
public static void main(String[] args) { | ||
com.mpush.Main.main(args); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,35 @@ | ||
## | ||
max_packet_size = 10240 | ||
max_packet_size=10240 | ||
## | ||
compress_limit = 10240 | ||
compress_limit=10240 | ||
## | ||
min_heartbeat = 10000 | ||
min_heartbeat=10000 | ||
## | ||
max_heartbeat = 180000 | ||
max_heartbeat=180000 | ||
## | ||
max_hb_timeout_times = 2 | ||
max_hb_timeout_times=2 | ||
## | ||
private_key = MIIBNgIBADANBgkqhkiG9w0BAQEFAASCASAwggEcAgE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PCWCobG8nTD24juwSVataW7iViRxcTkey/B792VZEhuHjQvA3cAJgx2Lv8GnX8NIoShZtoCg3Cx6ecs+VEPD2fBcg2L4JK7xldGpOJ3ONEAyVsLOttXZtNXvyDZRijiErQALMTorcgi79M5uVX9/jMv6Ggb2XAeZhlLD28fHwIDAQAB | ||
## | ||
gateway_server_port = 20882 | ||
gateway_server_port=20882 | ||
## | ||
connection_server_port = 3000 | ||
connection_server_port=3000 | ||
## | ||
aes_key_length = 16 | ||
aes_key_length=16 | ||
## | ||
ras_key_length = 1024 | ||
ras_key_length=1024 | ||
## | ||
session_expired_time = 86400 | ||
|
||
session_expired_time=86400 | ||
#zk_ip = 115.29.169.109:5666 | ||
zk_ip = 127.0.0.1:2181 | ||
zk_namespace = mpush-daily | ||
zk_digest = shinemoIpo | ||
|
||
zk_ip=127.0.0.1:2181 | ||
zk_namespace=mpush-daily | ||
zk_digest=shinemoIpo | ||
##redis_group = 127.0.0.1:6379:shinemoIpo,127.0.0.1:6380:shinemoIpo;127.0.0.1:6381:shinemoIpo | ||
#redis_group = 111.1.57.148:6379:ShineMoIpo | ||
redis_group = 127.0.0.1:6379:shinemoIpo | ||
force_write_redis_group_info = false | ||
redis_group=111.1.57.148:6379:ShineMoIpo | ||
force_write_redis_group_info=false | ||
dns_mapping=api.server.mangguoyisheng.com=10.161.215.146:81,10.161.158.135:81;h5.server.mangguoyisheng.com=10.162.19.217,10.162.93.125 | ||
|
||
#±¾»úIpºÍÍâÍøIpµÄÓ³Éä | ||
remote_ip_mapping=127.0.0.1:111.1.57.148 |