GRUD_DEV-1201/parallel thumbnail creation#318
Conversation
|
Die |
|
Minimum allowed coverage is Generated by 🐒 cobertura-action against efca62b |
| val dbConnection = DatabaseConnection(vertxAccess, connection) | ||
| val cpuCount = Runtime.getRuntime().availableProcessors(); | ||
| val poolSize = | ||
| if (cpuCount <= 1) 1 |
There was a problem hiding this comment.
Ich würde auch 2 CPUs mit einschließen, dass hier nur eine blockiert ist.
There was a problem hiding this comment.
Bei 2 CPUs ist die poolSize 1.
(cpuCount * 3) / 4 -> 1.5 -> 1 (da poolSize Int ist wird das .5 abgeschnitten)
|
Ich probiere es mal aufm Live-Server aus |
|
Hatte falschen Task im Branchnamen, deswegen neuer PR -> GRUD-DEV-1203/parallel thumbnail creation |
Ich würde hier eher die Zeit die wir vorher hatten und zu wenig war erhöhen. Der timeout ist ja pro Task. Also von den 2000ms auf z.b. 10_000ms gehen. Wenn das dann mal wirklcih länger dauert, finde ich es auch sinnvoll, dass ein waring im log steht. Mehrere logs dazu erwarte ich dazu eh nur im warump, im normalen Betrieb sollte das dann eigentlich nicht mehr vorkommen. |
No description provided.