Fix "abandoned" status syncs #21

Closed
opened 2019-01-30 01:34:44 +01:00 by tzarebczan · 2 comments
tzarebczan commented 2019-01-30 01:34:44 +01:00 (Migrated from github.com)

Looks like a bunch of youtube syncs were set to abandoned status prematurely because they were not rewards approved. Not sure how to best handle this yet - but we may have some YT sync users that get set to rewards disabled initially, and then set to approved. Some of these were synced, and then set to abandoned.

Looks like a bunch of youtube syncs were set to abandoned status prematurely because they were not rewards approved. Not sure how to best handle this yet - but we may have some YT sync users that get set to rewards disabled initially, and then set to approved. Some of these were synced, and then set to abandoned.
nikooo777 commented 2019-02-13 14:52:16 +01:00 (Migrated from github.com)

steps to take:

  • Have a cron job loop through all the abandoned channels, if the associated user has been manually re-enabled then put the channel back to pending/queued
  • To decide whether it's pending or queued we must:
  • Cross reference from the notification table to understand if a user had previously granted syncing rights
  • Add a flag or something to better identify abandoned channels that never granted consent vs abandoned channels that previously granted consent

additionally (bonus point):

  • Better handle channels that get wiped by youtube and thus end up with 0 uploaded videos (yet still have all their content on lbry and aren't banned from youtube)
steps to take: - Have a cron job loop through all the abandoned channels, if the associated user has been manually re-enabled then put the channel back to pending/queued - To decide whether it's pending or queued we must: - [x] Cross reference from the notification table to understand if a user had previously granted syncing rights - [ ] Add a flag or something to better identify abandoned channels that never granted consent vs abandoned channels that previously granted consent additionally (bonus point): - Better handle channels that get wiped by youtube and thus end up with 0 uploaded videos (yet still have all their content on lbry and aren't banned from youtube)
tzarebczan commented 2019-03-09 02:06:45 +01:00 (Migrated from github.com)

Sounds like this was almost completed...we reset the current ones be we need a way to check if users go from banned > approved status and fix their status automatically...is that right?

Sounds like this was almost completed...we reset the current ones be we need a way to check if users go from banned > approved status and fix their status automatically...is that right?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/ytsync#21
No description provided.