Ok! Please remove the line. Didnt notice that you changed config loading later.  Will merge as soon as I receive your re pull with modifications.

Thanks!

Enviado desde mi BlackBerry

-----Original Message-----
From: Tomas Neme <notifications@github.com>
Date: Fri, 05 Apr 2013 17:46:14 
To: inaes-tic/mbc-mosto<mbc-mosto@noreply.github.com>
Reply-To: inaes-tic/mbc-mosto <reply@reply.github.com>
Cc: Juan Martin Runge<jmrunge@gmail.com>
Subject: Re: [mbc-mosto] playlists/mongo driver (#28)

> +
> +    mongo_driver.prototype.start = function(config) {
> +        var db = require('./db').db(config && config.db);
> +        var client = mubsub(db);
> +        
> +        var channel = client.channel('messages', { size: 10000000, max: 5000 });
> +
> +        self.scheds = db.collection('scheds');
> +        self.lists = db.collection('lists');
> +        self.readPlaylists();
> +
> +        channel.subscribe({channel: 'schedbackend', method: 'create'}, function(msg) {
> +            if( self.inTime(msg.model) ) {
> +                self.createPlaylist(msg.model, self.newPlaylistCallback);
> +            } else {
> +                console.log('new sched outside time frame')

oops, that line was mine, for debugging.

I didn't do any proper logging because I want to use a real logging facility

---
Reply to this email directly or view it on GitHub:
https://github.com/inaes-tic/mbc-mosto/pull/28/files#r3682780