Commit Graph

131 Commits

Author SHA1 Message Date
Cloud Wu
cd3391461c add skynet.pcall for hotfix use (call a function with require) 2015-04-22 17:01:03 +08:00
Cloud Wu
22364bac89 bugfix: memory leak 2015-04-09 12:14:28 +08:00
David Feng
4718a12668 typo fix 2015-03-04 15:22:38 +08:00
David Feng
a7d79831e6 remove redundant print and use skynet.error 2015-03-04 15:14:35 +08:00
Cloud Wu
8792a40845 debug step mode 2015-02-11 14:18:47 +08:00
Cloud Wu
72c2fad82a skynet.kill would raise error 2015-02-05 18:25:06 +08:00
snail
e2683a46c3 remove needless 'debug.traceback' call in assert
Though the result is not used, 'debug.traceback' is called when 'succ' is true
2015-01-30 11:15:43 +08:00
snail
c5c94036c3 varable delcared in closure but used for global
fork_queue is used in skynet.exit,but declared after it.
2015-01-27 22:00:24 +08:00
Cloud Wu
44e6693a40 clear coroutine_pool when gc 2014-10-13 16:47:40 +08:00
Cloud Wu
2f6bfe9104 add message overload warning 2014-10-08 22:42:01 +08:00
Cloud Wu
c8775ee6f5 clear dead response in sharedatad 2014-09-27 14:55:14 +08:00
Cloud Wu
885c5b56bb bugfix: c.send returns nil when dest not exist 2014-09-25 17:50:17 +08:00
Cloud Wu
ce6efc535c bugfix: error in forked coroutine. and add skynet.term() 2014-09-25 17:36:38 +08:00
Cloud Wu
3074dbea0b bugfix: wakeup sleep coroutine should return BREAK 2014-09-18 11:44:12 +08:00
Cloud Wu
e95b7b9cf1 Merge branch 'master' into dev 2014-08-28 17:38:50 +08:00
Cloud Wu
165bed46a8 only skynet.call response error 2014-08-27 18:54:46 +08:00
Cloud Wu
16f63df0c3 add message log 2014-08-22 15:30:35 +08:00
Cloud Wu
6bf8dd9a31 add debug command inject 2014-08-13 21:02:56 +08:00
Cloud Wu
978e010e67 add cluster.proxy and cluster.ncall 2014-08-13 17:49:30 +08:00
Cloud Wu
0954a906f4 skynet.redirect support string address 2014-08-11 15:29:48 +08:00
Cloud Wu
40519e9ee1 add response test mode 2014-07-30 14:54:18 +08:00
Cloud Wu
ce5adba5b2 add skynet.response for delay response 2014-07-30 12:10:30 +08:00
Cloud Wu
dbf492b761 add snax.gateserver snax.loginserver snax.msgserver 2014-07-15 12:05:58 +08:00
Cloud Wu
3bc7304609 skynet.localname return nil when the name not exist 2014-07-13 19:37:08 +08:00
Cloud Wu
6813fd9ef7 bugfix: skynet.exit redirect error, and add datacenter.wait 2014-07-13 11:55:25 +08:00
Cloud Wu
a090899bce improve cluster 2014-07-12 23:14:05 +08:00
Cloud Wu
b5e10b8f9f add skynet.queue 2014-07-09 15:26:34 +08:00
Cloud Wu
4967dc2fce skynet.task return session:traceback 2014-07-07 19:00:22 +08:00
Cloud Wu
ece89a1b49 add new api skynet.task() 2014-07-07 18:29:27 +08:00
Cloud Wu
f874fdc618 throw error when skynet.exit 2014-07-03 17:40:07 +08:00
Cloud Wu
711c04e6a9 bugfix: redirect should pass session (0) 2014-07-03 17:13:47 +08:00
Cloud Wu
be1db23ea3 get now before starttime would be better 2014-06-25 11:59:54 +08:00
Cloud Wu
36cab8e060 add skynet.time() 2014-06-25 11:15:28 +08:00
Cloud Wu
9937081854 Redesign harbor/master/dummy service 2014-06-21 17:01:59 +08:00
Cloud Wu
ad9898a209 add module skynet.harbor 2014-06-19 15:43:41 +08:00
Cloud Wu
44bef99f64 use skynet.error instead of print 2014-06-18 15:10:21 +08:00
Cloud Wu
a700abcdb3 remove skynet.watch, move simplemonitor to examples 2014-05-06 14:57:01 +08:00
Cloud Wu
6a6d9db54d remove blockcall 2014-05-06 13:41:44 +08:00
Cloud Wu
a4a21bd793 move lualib/snax_* to lualib/snax/ 2014-04-29 17:05:27 +08:00
Cloud Wu
f161dbb0ea move datacenter api out of skynet 2014-04-29 15:57:11 +08:00
Cloud Wu
61e3904de8 merge servicecache branch 2014-04-29 14:51:34 +08:00
Cloud Wu
4d536f7f86 add datacenter 2014-04-29 14:20:22 +08:00
Cloud Wu
f6e67b7493 add bootstrap script 2014-04-29 13:44:30 +08:00
Cloud Wu
0a40d9c5c6 local multicast support 2014-04-28 21:10:24 +08:00
Cloud Wu
c17ec76e94 snax now use independent protocol PTYPE_SNAX 11 2014-04-28 15:52:54 +08:00
Cloud Wu
960bd23c56 add profile module, and use it in snax 2014-04-22 18:27:41 +08:00
xjdrew
c081816f06 1. 可以在服务运行中动态require socket
2. 添加方法skynet.retpack/skynet.dispatch_unknown_request
3. skynet.filter透传参数
2014-04-21 17:50:04 +08:00
Cloud Wu
ddd0b13013 add snax.uniqueservice (and others) 2014-04-19 17:53:50 +08:00
Cloud Wu
ba27feee35 make service mgr simple 2014-04-19 17:11:51 +08:00
Cloud Wu
2d56a2215a optimize global unique service query 2014-04-19 16:47:52 +08:00