Skip to content

FOUR-34467 Fix specific queue for saved search synch - #9187

Open
caleeli wants to merge 1 commit into
developfrom
FOUR-34467
Open

caleeli wants to merge 1 commit into
developfrom
FOUR-34467

Conversation

@caleeli

@caleeli caleeli commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Issue & Reproduction Steps

  • Synchronization jobs are running in the default queue

Solution

  • Add specific queue for saved search data synchronization

Related Tickets & Packages

ci:package-savedsearch:FOUR-34467
ci:deploy

@cursor

cursor Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

PR Summary

Low Risk
Infrastructure-only Horizon queue worker configuration; isolates sync jobs but does not change application job logic in this diff.

Overview
Adds a dedicated Laravel Horizon supervisor supervisor-savedsearch-sync in production, local, and staging so jobs on the synchronization queue are no longer handled by the general supervisor-1 workers.

The new supervisor is tuned for long-running sync work: timeout 3600, single retry (tries => 1), simple balancing, and 1–3 worker processes via PM4_HORIZON_SUPERVISOR_SAVEDSEARCH_SYNC_MIN/MAX_PROCESSES (defaults 1 and 3), with 512MB memory and 100 max jobs per worker lifecycle.

Reviewed by Cursor Bugbot for commit 9a81a82. Bugbot is set up for automated code reviews on this repo. Configure here.

@nolanpro

Copy link
Copy Markdown
Contributor

QA server K8S was successfully deployed https://tenant-1.ci-3a2269ec5e.engk8s.processmaker.net

@caleeli

caleeli commented Nov 20, 2026

Copy link
Copy Markdown
Contributor Author

PR Summary

Low Risk Infrastructure-only Horizon queue worker configuration; isolates sync jobs but does not change application job logic in this diff.

Overview Adds a dedicated Laravel Horizon supervisor supervisor-savedsearch-sync in production, local, and staging so jobs on the synchronization queue are no longer handled by the general supervisor-1 workers.

The new supervisor is tuned for long-running sync work: timeout 3600, single retry (tries => 1), simple balancing, and 1–3 worker processes via PM4_HORIZON_SUPERVISOR_SAVEDSEARCH_SYNC_MIN/MAX_PROCESSES (defaults 1 and 3), with 512MB memory and 100 max jobs per worker lifecycle.

Reviewed by Cursor Bugbot for commit 9a81a82. Bugbot is set up for automated code reviews on this repo. Configure here.

The logic was changed at: https://github.com/ProcessMaker/package-savedsearch/pull/713

@nolanpro

Copy link
Copy Markdown
Contributor

QA server K8S was successfully deployed https://tenant-1.ci-3a2269ec5e.engk8s.processmaker.net

@decisions-sonarqube

Copy link
Copy Markdown

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants