Skip to content

Add Expiry Property to allow log containers to expire#17

Open
SidBala wants to merge 2 commits intowinstonjs:masterfrom
SidBala:master
Open

Add Expiry Property to allow log containers to expire#17
SidBala wants to merge 2 commits intowinstonjs:masterfrom
SidBala:master

Conversation

@SidBala
Copy link

@SidBala SidBala commented Aug 21, 2015

var redisTransport  = new Redis({
    length: 5000,
    container: 'logsContainer',
    level: 'info',
    expire: 7 * 24 * 60 * 60 // Expire in a week's time.
})

@yads
Copy link
Contributor

yads commented Sep 3, 2015

Looks good, how about updating the README to go along with this change?

@yads
Copy link
Contributor

yads commented Mar 24, 2016

@SidBala I've added your code around not messing with a provided redis client to master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants