Skip to content

[2.1] Upgrader - Disable timeouts#9270

Open
sbulen wants to merge 2 commits into
SimpleMachines:release-2.1from
sbulen:21_upgr_timeouts
Open

[2.1] Upgrader - Disable timeouts#9270
sbulen wants to merge 2 commits into
SimpleMachines:release-2.1from
sbulen:21_upgr_timeouts

Conversation

@sbulen

@sbulen sbulen commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

See #9259 for other issues with large DB upgrades

In hindsight, why have timeouts at all. Let things complete. We know they run long. Random timeouts hidden from sight are frustrating and add delays to the overall process.

When run via browser, a timeout provides no visual indication that it happened. The upgrader reports possible timeouts after 30 secs of inactivity, but most of these are bogus - many actions take longer than 30 seconds on mid-to-large sized forums. So the user gets trained to ignore them. So... The user has no idea when a real timeout occurs, since the 30-second warning is normal.

The only reliable way I know of to see if the upgrader is actually running or not today is to do a SHOW PROCESSLIST at the DB console.

This PR makes the process much easier & more friendly. And faster - no idle-time when it's not doing anything but waiting for someone to catch on & restart it... You KNOW it's running. And no time wasted rerunning upgrader steps over & over upon each restart.

I also think we see data loss/corruption when long-running steps get restarted repeatedly. At some point, it skips over remaining work.

This one is ready to go. If approved, I'll work on the 3.0 version.

sbulen added 2 commits June 4, 2026 10:23
Signed-off-by: Shawn Bulen <bulens@pacbell.net>
…outs

Signed-off-by: Shawn Bulen <bulens@pacbell.net>
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.

1 participant