Automattic / Automattic/kue

Is there a reason for the shutdown timeout to be only 1.6s?

Open
#923 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
9.4k
Forks
858
PR merge metrics
No merged PRs in 30d

Description

Hi,
Currently the timeout period for witch projects are allowed to continue to run after a shutdown request request is only 1.6s (1600ms).

Any particular reason for this?
Can we change the default timeout from 1600ms to a few minutes?

p.s I'm aware that I can manually set a a different timeout.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points. Start by locating the worker shutdown timeout default and checking existing shutdown-related tests, then determine whether the requested default should change from 1600ms to a specific duration. Done means the chosen default is implemented and its behavior is covered or documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js, redis
Domain
backend, distributed-systems
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.