File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,15 @@ worker.register_workflow(Workflows::SyncWorkflow)
9
9
worker . register_workflow ( Workflows ::ScheduleSyncWorkflow )
10
10
worker . register_workflow ( Workflows ::TerminateWorkflow )
11
11
12
- worker . add_activity_middleware ( Middlewares ::DatabaseMiddleware )
12
+ # worker.add_workflow_task_middleware(Middlewares::DatabaseMiddleware)
13
+ # Disabled due to sync workflow failures in staging.
14
+ # The middleware appears to be causing connection pooling issues, resulting in errors like:
15
+ # "There is an issue connecting with your hostname: <hostname>. Please check your database configuration and
16
+ # ensure there is a valid connection to your database."
17
+ # Occasionally, the fetch sync activity also fails to retrieve the sync using the provided sync ID.
18
+ # Further investigation is needed to understand the impact of DatabaseMiddleware on
19
+ # database connections and workflow execution.
20
+
13
21
worker . register_activity ( Activities ::FetchSyncActivity )
14
22
worker . register_activity ( Activities ::CreateSyncRunActivity )
15
23
worker . register_activity ( Activities ::ExtractorActivity )
You can’t perform that action at this time.
0 commit comments