You can specify a variety of options when creating a new lock instance:

{
"client" : null, /* Instance of a node-redis redis client (https://github.com/mranney/node_redis) */
"host" : "localhost", /* Redis host to connect to if a client wasn't explicitly passed in */
"port" : 6379, /* Redis port to connect to if a client wasn't explicitly passed in */
"lockKey" : null, /* Name of the key to use for this lock, defaults to null, not optional */
"statusLevel" : RedisLockingWorker.StatusLevel.Normal, /* Verbosity to use when emitting status events */
"lockTimeout" : 5000, /* Time, in milliseconds, before a lock should expire. */
"maxAttempts" : 5, /* Number of attempts to complete work before giving up */
}