turingschool / turlink-be

0 stars 0 forks source link

BE: Create background worker that expires inactive links #32

Closed jdmchugh111 closed 2 months ago

jdmchugh111 commented 2 months ago

Links with fewer than 50 clicks that have not be used in 6 months or more should be disabled.

The background task should run on a daily schedule.

This task would also include a migration to add an enabled/disabled attribute to the link, with enabled being the default

The background worker would change any links that don't meet the criteria to disabled