mirror of
https://github.com/discourse/discourse.git
synced 2024-12-06 04:13:39 +08:00
1bcb521fbf
As part of problem checks refactoring, we're moving some data to be DB backed. In this PR it's the tracking of problem check execution. When was it last run, when was the last problem, when should it run next, how many consecutive checks had problems, etc. This allows us to implement the perform_every feature in scheduled problem checks for checks that don't need to be run every 10 minutes.
4 lines
69 B
Ruby
4 lines
69 B
Ruby
# frozen_string_literal: true
|
|
|
|
Fabricator(:problem_check_tracker) {}
|