Bug #19025

Timeout ForemanTasks.sync_task

Added by Ivan Necas 3 months ago.

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

Description

Currently, we set no timeout on `sync_task`, which can lead to web processes to be blocked
for long time.

The `wait` method https://github.com/theforeman/foreman-tasks/blob/v0.8.6/lib/foreman_tasks.rb#L29 should
be fed with a numeric value specifying the template, and the value should be configurable.

Also available in: Atom PDF