mirror of
https://github.com/logos-storage/bittorrent-tracker.git
synced 2026-01-02 13:03:09 +00:00
perf: use simple-peer/lite (#475)
This commit is contained in:
parent
e3dd9b9003
commit
5b8db067e4
@ -2,7 +2,7 @@ import Debug from 'debug'
|
|||||||
import EventEmitter from 'events'
|
import EventEmitter from 'events'
|
||||||
import once from 'once'
|
import once from 'once'
|
||||||
import parallel from 'run-parallel'
|
import parallel from 'run-parallel'
|
||||||
import Peer from '@thaunknown/simple-peer'
|
import Peer from '@thaunknown/simple-peer/lite.js'
|
||||||
import queueMicrotask from 'queue-microtask'
|
import queueMicrotask from 'queue-microtask'
|
||||||
import { hex2arr, hex2bin, text2arr, arr2hex, arr2text } from 'uint8-util'
|
import { hex2arr, hex2bin, text2arr, arr2hex, arr2text } from 'uint8-util'
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user