File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ const cfg: ServerI = {
4646 host : argv . host ?? process . env . HOST ?? '0.0.0.0' ,
4747 domain : argv . domain ?? process . env . DOMAIN ?? 'localhost' ,
4848 storage : argv . data ?? paths . data ,
49- useWebRTC : false
49+ useWebRTC : argv . useWebRTC ?? ( process . env . USE_WEBRTC ?. toLowerCase ( ) === ' false' ? false : process . env . CI !== 'true' )
5050}
5151
5252const server = await apiBuilder ( {
Original file line number Diff line number Diff line change @@ -202,9 +202,9 @@ export class IPFSProtocol implements Protocol<Static<typeof IPFSProtocolFields>>
202202 } ,
203203 peerInfoMapper : removePrivateAddressesMapper ,
204204 reprovide : {
205- concurrency : 20 ,
205+ concurrency : 10 ,
206206 interval : 60 * 60 * 1000 ,
207- threshold : 24 * 60 * 60 * 1000
207+ threshold : 12 * 60 * 60 * 1000
208208 }
209209 } ) ,
210210 identify : identify ( ) ,
You can’t perform that action at this time.
0 commit comments