1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-05 10:39:25 +02:00

Make group timeout configurable.

This commit is contained in:
Simo Kinnunen 2014-05-14 19:12:28 +09:00
parent d59c156297
commit 78c207c8d1
5 changed files with 30 additions and 12 deletions

View file

@ -44,7 +44,7 @@ module.exports = syrup.serial()
log.info('Now owned by "%s"', currentGroup.email)
log.info('Subscribing to group channel "%s"', currentGroup.group)
channels.register(currentGroup.group, timeout)
channels.register(currentGroup.group, timeout || options.groupTimeout)
sub.subscribe(currentGroup.group)
push.send([