Skip to content

Commit

Permalink
refactor: move fixed-queeu to dispatcher and rm node folder (#2827)
Browse files Browse the repository at this point in the history
  • Loading branch information
ronag committed Feb 23, 2024
1 parent cfa2b4e commit 7623f10
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion lib/dispatcher/pool-base.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict'

const DispatcherBase = require('./dispatcher-base')
const FixedQueue = require('../node/fixed-queue')
const FixedQueue = require('./fixed-queue')
const { kConnected, kSize, kRunning, kPending, kQueued, kBusy, kFree, kUrl, kClose, kDestroy, kDispatch } = require('../core/symbols')
const PoolStats = require('./pool-stats')

Expand Down
2 changes: 1 addition & 1 deletion test/fixed-queue.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
const { tspl } = require('@matteo.collina/tspl')
const { test } = require('node:test')

const FixedQueue = require('../lib/node/fixed-queue')
const FixedQueue = require('../lib/dispatcher/fixed-queue')

test('fixed queue 1', (t) => {
t = tspl(t, { plan: 5 })
Expand Down

0 comments on commit 7623f10

Please sign in to comment.