use redis expire event to delete stored data immediately

This commit is contained in:
Edmund Huggett 2017-11-15 12:31:22 +00:00
parent 490a1e88eb
commit 58840e2c00
No known key found for this signature in database
GPG key ID: C403E0007DCEEEB0
2 changed files with 19 additions and 0 deletions

View file

@ -14,6 +14,11 @@ const conf = convict({
default: 'localhost',
env: 'REDIS_HOST'
},
redis_event_expire: {
format: Boolean,
default: false,
env: 'REDIS_EVENT_EXPIRE'
},
listen_port: {
format: 'port',
default: 1443,