2014-06-27 02:09:39 +08:00
|
|
|
Meteor.startup ->
|
2014-10-25 02:02:01 +08:00
|
|
|
Meteor.log.info "server start"
|
|
|
|
|
2014-06-27 02:09:39 +08:00
|
|
|
#remove all data
|
2014-07-28 23:00:07 +08:00
|
|
|
clearCollections()
|
2014-07-26 00:36:31 +08:00
|
|
|
|
2014-06-27 02:09:39 +08:00
|
|
|
# create create a PubSub connection, start listening
|
|
|
|
Meteor.redisPubSub = new Meteor.RedisPubSub(->
|
2014-10-25 02:02:01 +08:00
|
|
|
Meteor.log.info "created pubsub")
|