File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ const ScannerSelector = () => {
122122 const job = await createScan ( request ) ;
123123 setActiveScan ( job ) ;
124124
125- const finishedJob = await pollScan ( job . id , { intervalMs : 10000 , timeoutMs : 180000 } ) ;
125+ const finishedJob = await pollScan ( job . id , { intervalMs : 10000 , timeoutMs : 300000 } ) ;
126126 setActiveScan ( finishedJob ) ;
127127
128128 if ( finishedJob . status === "failed" ) {
Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ export async function analyzeTarget(request: CreateScanRequest): Promise<{ ok: b
166166
167167export async function pollScan ( scanId : string , options ?: { intervalMs ?: number ; timeoutMs ?: number } ) : Promise < ScanJob > {
168168 const intervalMs = options ?. intervalMs ?? 2000 ;
169- const timeoutMs = options ?. timeoutMs ?? 120000 ;
169+ const timeoutMs = options ?. timeoutMs ?? 300000 ;
170170 const startedAt = Date . now ( ) ;
171171 let attempt = 0 ;
172172
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ export const translations = {
2222 // Target Types
2323 website : "Website" ,
2424 smartContract : "Smart Contract" ,
25+ solanaProgram : "Solana Program" ,
2526 blockchain : "Blockchain" ,
2627 dapp : "DApp" ,
2728 defi : "DeFi Protocol" ,
@@ -328,6 +329,7 @@ export const translations = {
328329 // Target Types
329330 website : "Веб-сайт" ,
330331 smartContract : "Смарт-контракт" ,
332+ solanaProgram : "Программа Solana" ,
331333 blockchain : "Блокчейн" ,
332334 dapp : "DApp" ,
333335 defi : "DeFi протокол" ,
You can’t perform that action at this time.
0 commit comments