moonbridge
diff example_application.lua @ 131:89fc89b22e28
Example application uses new "main" protocol; Handler for "main" gets table with "main" set to true
author | jbe |
---|---|
date | Wed Apr 15 00:59:52 2015 +0200 (2015-04-15) |
parents | d9cc81641175 |
children | 5adfc36ca73f |
line diff
1.1 --- a/example_application.lua Wed Apr 15 00:54:17 2015 +0200 1.2 +++ b/example_application.lua Wed Apr 15 00:59:52 2015 +0200 1.3 @@ -147,9 +147,8 @@ 1.4 end 1.5 1.6 listen{ 1.7 - { proto = "interval", delay = 1 }, 1.8 - connect = chat_server, 1.9 - max_fork = 1 1.10 + { proto = "main" }, 1.11 + connect = chat_server 1.12 } 1.13 1.14 listen{