.
This commit is contained in:
parent
d89d793efa
commit
d4926646f9
@ -131,7 +131,7 @@ object DynamicNewsScraper {
|
||||
|
||||
object SafeScraper {
|
||||
// 동시 실행 브라우저 탭을 5개로 제한 (M3 Pro라면 10~20개도 여유롭습니다)
|
||||
private val semaphore = Semaphore(5)
|
||||
private val semaphore = Semaphore(2)
|
||||
|
||||
suspend fun scrapeParallel(corpInfo: CorpInfo,urls: List<NewsItem>) = coroutineScope {
|
||||
var query = "${corpInfo.cName} ${corpInfo.cCode} ${corpInfo.stockCode}"
|
||||
|
||||
@ -113,7 +113,7 @@ fun StockDetailSection(
|
||||
launch {
|
||||
DartCodeManager.getCorpCode(stockCode)?.let {
|
||||
it.stockName = stockName
|
||||
NewsService.fetchAndIngestNews(it)
|
||||
// NewsService.fetchAndIngestNews(it)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user