- Notifications
You must be signed in to change notification settings - Fork63
Open
Description
Problem: Script doesn't exit when using RedisUrList.
Step to replicate:
Run the following code:
'use strict';const supercrawler = require('supercrawler');const crawler = new supercrawler.Crawler({ urlList: new supercrawler.RedisUrlList({ redis: { host: 'redis-server.example.org' } })});console.log('Script should exit after this.');Expected behavior:
Script should stop after running.
Actual behavior:
Script runs indefinitely.
Workaround:
Callprocess.exit() to terminate the script.
BTW, I'm using AWS ElastiCache for Redis, just in case this detail is needed. :)
Metadata
Metadata
Assignees
Labels
No labels