Skip to content

Conversation

@ts-sz
Copy link

@ts-sz ts-sz commented May 2, 2018

Hi guys,
here a quickly *systemd service for workers!
to make it work:

  1. Copy txt file in /etc/systemd/system/coalition_worker.service
  2. Change Environment's VARS with yours.
  3. Reload systemd: systemctl daemon-reload
  4. Start the service: systemctl start coalition_worker.service
  5. Enable service:systemctl enable coalition_worker.service
  6. Enjoy

coalition_worker.service.txt

hulud75 and others added 30 commits January 11, 2016 11:39
On pickle any more
The server is using a database.
The database is a plug-in. A sqlite and a mysql plug-ins are provided.
Launch several workers and a server then execute sql queries to test the core
Workers can know handle several affinities.
After settings the affinities in the appropriate tab, you can add several affinity rules to a worker.
Each rule need to be separated by a line return.
Workers will, in priority, execute all jobs that match their FIRST rule, whatever the Job priority is.
If a job has no affinity, it will be executed by any workers when all the jobs restrained by affinities will have been executed.
_______________________________________________________________________________
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.

9 participants