Module: GoodJob::Filterable

Extended by:
ActiveSupport::Concern
Included in:
BatchRecord, Job
Defined in:
app/models/concerns/good_job/filterable.rb

Overview

Shared methods for filtering Execution/Job records from the good_jobs table.

Constant Summary collapse

MAX_SEARCH_COLUMN_CHARS =

Caps the largest free-form columns (error, serialized_params->>‘arguments’) fed to to_tsvector() so the combined tsvector stays under PG’s ~1 MB limit (PG::ProgramLimitExceeded: “string is too long for tsvector”).

262_144