Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 1 KB

async-tasks.md

File metadata and controls

20 lines (17 loc) · 1 KB

Asynchronous tasks

Layman uses asynchronous tasks for processing publications (layers and maps), because some processing steps may take a long time. For example, importing 100 MB ShapeFile to DB may take few tens of seconds.

Asynchronous tasks are started by following requests:

  • POST Workspace Layers
    • tasks related to newly published layer
    • tasks related to each map that points to newly published layer
  • PATCH Workspace Layer
    • tasks related to patched layer
    • tasks related to each map that points to patched layer
  • POST Workspace Maps
    • tasks related to newly published map
  • PATCH Workspace Map
    • tasks related to patched map
  • WFS-T
    • tasks related to each edited vector layer
    • tasks related to each map that points to at least one edited vector layer

Each request starts series of asynchronous tasks called chain.