Last active
March 15, 2021 13:28
-
-
Save fxn/72db46a88b26f0f432b2bc1ba79cd6f6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class LocationsJob < ApplicationJob | |
queue_as :high_priority | |
def perform(location) | |
BatchWriter.push(location) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment