0.13.2 • Published 6 years ago
alaska-queue-array v0.13.2
alaska-queue-array
Alaska array queue driver
Configure
queue: {
type: 'alaska-queue-array',
key: 'myQueue',
idle: 5, // idle drivers count
}
Warning
This driver just for development environment.
You should use alaska-queue-redis or other driver instead, in production environment.
Because :
The queued data can not shared with multi node process.
The queued data will lost when node exited or crashed.
This driver may cause memory leak.
The
pop(timeout)
function is not timely.
Contribute
License
This project is licensed under the terms of the MIT license