Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

Commit

Permalink
removed pointless logging
Browse files Browse the repository at this point in the history
hopefully this'll fix the RAM issue
  • Loading branch information
GalvinPython committed Jun 21, 2024
1 parent a17c09a commit 9914523
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/utils/getSubs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ export async function getSubsTask(): Promise<void> {
for (let i = 0; i < subscriberCounts.length; i++) {
const subsciberCount = subscriberCounts[i];
const channelId = channels[i];
console.log('\n', channelId, subsciberCount)
const currentSubCount = await getChannelSubs(channelId) as any
console.log(currentSubCount)
if (currentSubCount[0] < subsciberCount) {
console.log('An update has been detected from', currentSubCount[0], '->', subsciberCount)
await updateSubsTask(channelId, subsciberCount)
Expand Down

0 comments on commit 9914523

Please # to comment.