"Stale" users
Closed this issue · 5 comments
longrunningprocess commented
Imagine a user sits in this database without having its last_synced_date
updated in the last 5 syncs for example. Do we need logic in place to purge, i.e., active=no
, this user? @fillup @forevermatt
fillup commented
We talked about having a cron that checks for users not synced in past 48 hours and foreach does individual syncs.
fillup commented
Sorry, to be more specific:
id-broker
should have cron job looking for "stale" users.- For each stale user, call
id-sync
webhook for an individual user sync/update. - If webhook call to
id-sync
does not respond successfully, trigger alert.
longrunningprocess commented
Does the work we did in #74 change anything about this approach in your all's minds @fillup @forevermatt ?
forevermatt commented
longrunningprocess commented
ok, sounds good.