Skip to content

Allow temporarily skipping indexing / improve process#create load time x 2

Michael Prilop requested to merge 1185-improve-process-create-processing-time into main

Closes #1185 (closed)

Temporarily skip enqueue jobs to reindex workflows/tasks:

  • jobs enqueued by searchkick directly (callbacks)
  • jobs explicitely enqueued by us (def reindex_with_tasks et al)

Used when creating a new process this almost halves processing time.

Note: The time saving would be far higher if we not already pushed reindexing into jobs (and processed the async). But enqueueing a lot of jobs does also take substantial time.

Merge request reports