Skip to content

Commit a137df3

Browse files
Adam GoughAdam Gough
authored andcommitted
got rid of the force sync
1 parent fc93a30 commit a137df3

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

apps/sim/app/w/[id]/hooks/use-deployment-change-detection.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@ export function useDeploymentChangeDetection(activeWorkflowId: string | null, is
4141
logger.debug(`Checking for changes in workflow ${requestedWorkflowId}`)
4242

4343
try {
44-
// Force immediate sync to ensure database has the latest subBlock values
45-
// This is important because subBlock changes have a debounced sync delay
46-
const { workflowSync } = await import('@/stores/workflows/sync')
47-
await workflowSync.sync()
4844

4945
// Get the deployed state from the API
5046
const response = await fetch(`/api/workflows/${requestedWorkflowId}/status`)

0 commit comments

Comments
 (0)