fix: stop enqueueing disabled external table exports

This commit is contained in:
姚章浩
2026-08-13 14:49:44 +08:00
parent 0f30f8cec8
commit e5be9ee780
5 changed files with 42 additions and 10 deletions
+1
View File
@@ -191,6 +191,7 @@ func main() {
if binding, ok := activeBindings["question_table"]; ok {
qtCfg = questionTableConfig{BaseID: binding.BaseID, SheetID: binding.SheetID, OperatorID: binding.OperatorID, FieldMapping: binding.FieldMapping}
}
store.SetExternalTableExports(qtCfg.BaseID != "", faqCfg.BaseID != "")
var questionTableDone chan struct{}
if qtCfg.BaseID != "" {
qtRepo, err := postgres.NewQuestionTableExportRepository(store)