Closed joshbwlng closed 2 weeks ago
Change-type: minor
Spec: https://balena.fibery.io/Inputs/Research/PineJS-Async-Tasks-483
Testing locally:
docker-compose -f docker-compose.npm-test.yml up -d export DATABASE_URL=postgres://docker:docker@localhost:5431/postgres export PINEJS_QUEUE_CONCURRENCY=1 TZ=UTC npm run mocha test/08-tasks.test.ts
Follow-ups:
FOR UPDATE SKIP LOCKED
.on('notification')
Depends on:
Change-type: minor
Spec: https://balena.fibery.io/Inputs/Research/PineJS-Async-Tasks-483
Testing locally:
Follow-ups:
FOR UPDATE SKIP LOCKED
to abstractSql and update the polling query for tasks to be written in abstractSql.on('notification')
handler for listening for db events, such as new task insertsDepends on: