Skip to content

Commit

Permalink
All 4 SWF-related caches that rely on the existence of the primary do…
Browse files Browse the repository at this point in the history
…main should be filled only after we've ensured the domain exists
  • Loading branch information
Joe Sondow committed Oct 25, 2013
1 parent f33d253 commit a0597ae
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ class AwsSimpleWorkflowService implements CacheInitializer, InitializingBean {
caches.allWorkflowDomains.ensureSetUp({ retrieveDomainsAndEnsureDomainIsRegistered() }, {
caches.allOpenWorkflowExecutions.ensureSetUp({ retrieveOpenWorkflowExecutions() })
caches.allClosedWorkflowExecutions.ensureSetUp({ retrieveClosedWorkflowExecutions() })
caches.allWorkflowTypes.ensureSetUp({ retrieveWorkflowTypes() })
caches.allActivityTypes.ensureSetUp({ retrieveActivityTypes() })
})
caches.allWorkflowTypes.ensureSetUp({ retrieveWorkflowTypes() })
caches.allActivityTypes.ensureSetUp({ retrieveActivityTypes() })
}

// Activity types
Expand Down

0 comments on commit a0597ae

Please sign in to comment.