From f02b437085e9cab12a56bcd360bd2c96a44f3ff7 Mon Sep 17 00:00:00 2001 From: evazion Date: Wed, 8 Dec 2021 18:04:14 -0600 Subject: [PATCH] bigquery: temp disable dumping the posts table. Dumping the posts table to BigQuery tends to timeout and leave stuck jobs in the jobs table. Disable it until it can be fixed. --- app/logical/bigquery_export_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/logical/bigquery_export_service.rb b/app/logical/bigquery_export_service.rb index 23cb56351..076957ed5 100644 --- a/app/logical/bigquery_export_service.rb +++ b/app/logical/bigquery_export_service.rb @@ -39,7 +39,7 @@ class BigqueryExportService Rails.application.eager_load! models = ApplicationRecord.descendants.sort_by(&:name) - models -= [Favorite, IpAddress, TagRelationship, ArtistVersion, ArtistCommentaryVersion, NoteVersion, PoolVersion, PostVersion, WikiPageVersion] + models -= [Post, Favorite, IpAddress, TagRelationship, ArtistVersion, ArtistCommentaryVersion, NoteVersion, PoolVersion, PostVersion, WikiPageVersion] models end