Commit 82123ef
committed
Run SMW rebuildData.php in background to avoid blocking startup
On large wikis, rebuildData.php can take a very long time. Running it
synchronously blocks the entire container startup: the web server, log
permission setup, and php-fpm never start, leaving the site completely
down with no maintenance banner.
Wrap the rebuildData block in a background subshell so services start
immediately. The .maintenance flag already provides a maintenance banner
while background tasks complete.
Fixes #911 parent cfc707f commit 82123ef
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| 179 | + | |
| 180 | + | |
179 | 181 | | |
180 | 182 | | |
181 | 183 | | |
| |||
197 | 199 | | |
198 | 200 | | |
199 | 201 | | |
| 202 | + | |
200 | 203 | | |
201 | 204 | | |
202 | 205 | | |
| |||
0 commit comments