•  
      request #13896 Workers message processing are delayed
    Infos
    #13896
    Manuel Vacelet (vaceletm)
    2019-10-02 11:03
    2019-09-19 10:30
    14786
    Details
    Workers message processing are delayed

    Yay, another subtle combination of @vaceletm and @tgerbet work that lead to... intresting results.

    The former reworked the cron management to be able to better control the background processing of tasks.

    The later fixed a wrong behavior of workers themselves to avoid working on stalled data  (request #13666).

    When you combine both the workers are sending commands (with tuleap.php) that are delayed (because workers are started by tuleap process-system-event that is in cron that have TLP_DELAY_CRON_CMD. The environment variable is duly propagated all the way down to `tuleap queue:task-worker-process` that quitely wait for the random delay to execute the worker duty.

    Computer Science is Hard(c)(tm)

    Other
    11.5
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Manuel Vacelet (vaceletm)
    Closed
    2019-09-19
    Attachments
    Empty
    References

    Follow-ups

    • User avatar
      Thomas Gerbet (tgerbet)2019-09-19 13:37
      Integrated into Tuleap 11.6.99.3.

      • Status changed from Under review to Closed
      • Connected artifacts
      • Close date set to 2019-09-19
    • User avatar

      Review gerrit #16240


      • Status changed from Under implementation to Under review
    • User avatar
      • Original Submission
        Something went wrong, the follow up content couldn't be loaded
        Only formatting have been changed, you should switch to markup to see the changes