Skip to content

Commit 5bd3d10

Browse files
committed
πŸ› fix: 30λΆ„ 차이 λ‚˜λŠ” ν”Όλ“œ λˆ„λ½ 버그 μˆ˜μ •
1 parent 182aa0c commit 5bd3d10

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

β€Žfeed-crawler/src/common/parser/base-feed-parser.tsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export abstract class BaseFeedParser {
5151
return rawFeeds.filter((item) => {
5252
const pubDate = new Date(item.pubDate).setSeconds(0, 0);
5353
const timeDiff = (now - pubDate) / (ONE_MINUTE * TIME_INTERVAL);
54-
return timeDiff >= 0 && timeDiff < 1;
54+
return timeDiff >= 0 && timeDiff <= 1;
5555
});
5656
}
5757

β€Žfeed-crawler/src/common/parser/feed-parser-manager.tsβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ export class FeedParserManager {
3636
if (!parser) {
3737
throw new Error(`μ§€μ›ν•˜μ§€ μ•ŠλŠ” ν”Όλ“œ ν˜•μ‹: ${rssObj.rssUrl} / `);
3838
}
39-
logger.info(`${rssObj.blogName}: ${parser.constructor.name} μ‚¬μš©`);
4039

4140
return await parser.parseFeed(rssObj, xmlData, startTime);
4241
} catch (error) {

0 commit comments

Comments
Β (0)