Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make numismatics indexing into Sidekiq background job #2543

Open
1 of 8 tasks
maxkadel opened this issue Oct 29, 2024 · 0 comments
Open
1 of 8 tasks

Make numismatics indexing into Sidekiq background job #2543

maxkadel opened this issue Oct 29, 2024 · 0 comments
Labels
maintenance Ticket related to maintenance that needs to be done

Comments

@maxkadel
Copy link
Contributor

What maintenance needs to be done?

Turn the process that indexes coins into a background job using Sidekiq

Level of urgency

  • High
  • Moderate
  • Low

Why is this maintenance needed?

Right now this runs in the terminal on the server, which runs that risk that if the server is restarted, or the terminal session is interrupted, the job will not run and will have to be manually re-started.

Acceptance criteria

  • If this change touches any of the files referenced in .rubocop_todo.yml create a new ticket to address the rubocop todo.
  • The task rake numismatics:index:full sets of a background job or jobs
  • The background job is idempotent, meaning if it gets re-started it will not create issues
  • The background job incorporates a check that the sneakers workers are off in production
  • The job logs to the expected sidekiq log location

Implementation notes, if any

See documentation on numismatics indexing

@maxkadel maxkadel added the maintenance Ticket related to maintenance that needs to be done label Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Ticket related to maintenance that needs to be done
Projects
None yet
Development

No branches or pull requests

1 participant