Commit de96f09
committed
Performance: Bulk Resize für Shared Hosting optimiert
Problem: Auf Plesk-Servern bleibt das Modal bei 20% stehen/dauert sehr lange
Änderungen:
- MAX_PARALLEL_PROCESSES von 3 auf 1 reduziert (Shared Hosting)
- Memory Limit auf 256M erhöht (@ini_set)
- Execution Time auf 60 Sekunden gesetzt (@set_time_limit)
- Timeout-Check nach 45 Sekunden (verhindert PHP Timeout)
- Neue Konstante MAX_EXECUTION_TIME_PER_IMAGE (30s)
Begründung:
Shared Hosting Server haben limitierte Ressourcen. Sequentielle Verarbeitung
(1 Bild nach dem anderen) ist zuverlässiger als parallele Verarbeitung.
Für High-Performance Server kann max_parallel über Config erhöht werden.1 parent b0da6da commit de96f09
1 file changed
+14
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
170 | 171 | | |
171 | 172 | | |
172 | 173 | | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
173 | 180 | | |
174 | 181 | | |
175 | 182 | | |
| |||
183 | 190 | | |
184 | 191 | | |
185 | 192 | | |
| 193 | + | |
186 | 194 | | |
187 | 195 | | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
188 | 201 | | |
189 | 202 | | |
190 | 203 | | |
| |||
0 commit comments