Replace persistence.db with db.gateway.connection

This commit is contained in:
2024-08-05 18:42:44 +10:00
parent 9b3d2dc4ae
commit d7573d7038
5 changed files with 6 additions and 6 deletions

View File

@@ -19,7 +19,7 @@ module Admin
end
expose :running_jobs do
Que.connection = Adamantium::Container["persistence.db"]
Que.connection = Adamantium::Container["db.gateway"].connection
Que.job_stats.any? { |job| job[:job_class] == Adamantium::Jobs::ArchiveDeadBookmarks.name }
end
end