feat: reuse worker threads for bru file parsing (#4054)

This commit is contained in:
lohit
2025-02-18 19:58:37 +05:30
committed by GitHub
parent dfb0b1b966
commit 31409c6206
9 changed files with 104 additions and 39 deletions

View File

@@ -21,18 +21,18 @@ const RequestNotLoaded = ({ collection, item }) => {
<IconFile size={16} strokeWidth={1.5} className="text-gray-400" />
File Info
</div>
<div className='hr'/>
<div className='hr' />
<div className='flex items-center mt-2'>
<span className='w-12 mr-2 text-muted'>Name:</span>
<div>{item?.name}</div>
</div>
<div className='flex items-center mt-1'>
<span className='w-12 mr-2 text-muted'>Path:</span>
<div className='break-all'>{item?.pathname}</div>
</div>
<div className='flex items-center mt-1 pb-4'>
<span className='w-12 mr-2 text-muted'>Size:</span>
<div>{item?.size?.toFixed?.(2)} MB</div>
@@ -67,7 +67,7 @@ const RequestNotLoaded = ({ collection, item }) => {
{item?.loading && (
<>
<div className='hr mt-4'/>
<div className='hr mt-4' />
<div className='flex items-center gap-2 mt-4'>
<IconLoader2 className="animate-spin" size={16} strokeWidth={2} />
<span>Loading...</span>