learningequality / kolibri-server

A performance-boosting access layer for Kolibri with multi-core support and improved caching
4 stars 8 forks source link

Fixes timeout error during start #93

Closed intelliant01 closed 2 years ago

intelliant01 commented 2 years ago
jredrejo commented 2 years ago

TimeoutStartSec=infinity is not an acceptable option as it causes problems when stopping the server, waiting forever for the process to end. If the daemon is timing out we should find out what's the reason for it and fix it. I don't know what's the problem this PR is trying to fix (in the past it happened when many migrations were applied, usually after a new release upgrade).

intelliant01 commented 2 years ago

Why would TimeoutStartSec cause problems for stopping? It is not TimeoutStopSec.

kolibri.service has TimeoutStartSec=infinity. It is for the same reason and the "problem" that it should be covered now in kolibri-server. Isn't it?