Bug #18422

Expose the foreman-tasks pool size via config/installer

Added by Ivan Necas about 1 month ago. Updated about 1 month ago.

Status:New
Priority:Normal
Assigned To:-
Category:-
Target version:Foreman - Team Ivan Iteration 10
Difficulty: Bugzilla link:1420397
Found in release: Pull request:
Story points-
Velocity based estimate-

Description

Currently, we use a pool of 5 workers in the foreman-tasks to handle the incoming requests. At large scale, this might not be enough. For start, we should be
at least able to set the number of works via config file/installer

As a workaround, one would need to edit `pool_size` in initialize method of

/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-*/lib/foreman_tasks/dynflow/configuration.rb

and after changing the size, restart the foreman-tasks service

History

#1 Updated by Ivan Necas about 1 month ago

  • Subject changed from Expose the foreman-tasks pool size via config/installer to Expose the foreman-tasks pool size via config/installer
  • Target version set to Team Ivan Iteration 10

Also available in: Atom PDF