Merged in feature/movefromtrigger (pull request #164)
Single Text Queue * notrigger
This commit is contained in:
@@ -22,7 +22,7 @@ import (
|
||||
_ "github.com/lib/pq"
|
||||
)
|
||||
|
||||
type DocTextTriggerConfig struct {
|
||||
type DocTextConfig struct {
|
||||
runner.BaseConfig[doctextrunner.Body]
|
||||
textract.TextractConfig
|
||||
querysync.QuerySyncConfig
|
||||
@@ -32,7 +32,7 @@ type DocTextTriggerConfig struct {
|
||||
func main() {
|
||||
ctx := context.Background()
|
||||
|
||||
cfg := &DocTextTriggerConfig{}
|
||||
cfg := &DocTextConfig{}
|
||||
|
||||
cfg.ControllerFunc = func() runner.Controller[doctextrunner.Body] {
|
||||
text := documenttext.New(cfg)
|
||||
|
||||
Reference in New Issue
Block a user