lib/fluent/plugin/bigquery/writer.rb in fluent-plugin-bigquery-3.0.0 vs lib/fluent/plugin/bigquery/writer.rb in fluent-plugin-bigquery-3.0.1

- old
+ new

@@ -345,10 +345,10 @@ rescue Google::Apis::ClientError => e if e.status_code == 404 && /Not Found: Table/i =~ e.message if try_count == 1 # Table Not Found: Auto Create Table create_table(project, dataset, table_id, schema) - elsif try_count > 10 + elsif try_count > 60 # timeout in about 300 seconds raise "A new table was created but it is not found." end # Retry to insert several times because the created table is not visible from Streaming insert for a little while # cf. https://cloud.google.com/bigquery/troubleshooting-errors#metadata-errors-for-streaming-inserts