turingschool / turlink-be

0 stars 0 forks source link

Jm/disable inactive #34

Closed jdmchugh111 closed 2 months ago

jdmchugh111 commented 2 months ago

Description of Changes

Created background worker that runs daily to disable inactive links. I believe I'll need to provision redis and run a specific command to scale basic dynos for workers once a manual deploy is pushed

What are the relevant tickets (if any)

closes #32

Testing

This was my first time creating a background job - wasn't sure how to test with rspec

Checklist

Deployment Notes

Will need to provision redis and run some commands to initialize sidekiq

noahdurbin commented 2 months ago

Looks good to me. Logic for the job makes sense. I haven't worked with jobs before either but reading through this it looks good.