1
0
Fork 0
Commit Graph

20 Commits

Author SHA1 Message Date
Gregory Eremin ee34e14320 Add content-type header to json responses 2014-09-25 17:19:45 +04:00
Gregory Eremin 12b3a12c51 Queue flushing 2014-09-24 19:37:33 +04:00
Gregory Eremin 9d6d240bbc Move message struct definition to hub 2014-09-24 19:36:09 +04:00
Gregory Eremin 959bc56bc3 Pass done channel to counter 2014-09-24 19:34:39 +04:00
Gregory Eremin d74792a591 Rename result into message 2014-09-24 16:52:31 +04:00
Gregory Eremin 922b3fc009 Don't lock around appending to subscribers list 2014-09-24 16:26:22 +04:00
Gregory Eremin f29268776b Hide result channel into subscription 2014-09-24 16:26:05 +04:00
Gregory Eremin 8365c05961 Restore debug handler 2014-09-24 14:13:08 +04:00
Gregory Eremin e572542330 Finished channel is already closed 2014-09-12 00:05:44 +04:00
Gregory Eremin 2a0d88c3bb Adding subscription should be safe
and not happen while cleaning up
2014-09-11 23:13:44 +04:00
Gregory Eremin 3d98c84548 Hub info function 2014-09-11 23:08:12 +04:00
Gregory Eremin e0b3743a00 Improve code readability 2014-09-11 22:53:53 +04:00
Gregory Eremin 3fc1601f5d Cleanup hub pool periodically 2014-09-11 15:11:48 +04:00
Gregory Eremin 3adaa805eb Wrap queue+message pair into Result 2014-09-11 14:27:48 +04:00
Gregory Eremin 638a61e8ab Hub cleanup 2014-09-11 14:27:03 +04:00
Gregory Eremin 76403807db Subscription is a black box 2014-09-10 17:34:39 +04:00
Gregory Eremin d913f52efa Fix me 2014-09-10 16:53:41 +04:00
Gregory Eremin 69b94c077f Contextless hub 2014-09-10 16:52:18 +04:00
Gregory Eremin c1d828b222 Subscription 2014-09-10 16:52:03 +04:00
Gregory Eremin 601a80fb8e Hub draft 2014-09-10 15:44:38 +04:00