Skip to content

Commit

Permalink
[server] Attribute sync fix upon adding feature server
Browse files Browse the repository at this point in the history
  • Loading branch information
Rick Saccoccia committed Nov 9, 2024
1 parent df19f92 commit 46cdaf4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugins/arcgis/service/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,10 @@ const arcgisPluginHooks: InitPluginHook<typeof InjectedServices> = {
})

await stateRepo.patch({ ...updateConfig, featureServices })

// Sync configuration with feature servers by restarting observation processor
processor.stop()
processor.start()

res.sendStatus(200)
})
Expand Down

0 comments on commit 46cdaf4

Please sign in to comment.