@mostajs/setup 2.1.15 → 2.1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/setup.js +1 -1
- package/package.json +1 -1
package/dist/lib/setup.js
CHANGED
|
@@ -184,7 +184,7 @@ async function runNetInstall(installConfig, setupConfig) {
|
|
|
184
184
|
// Si le serveur redémarre, attendre qu'il soit de retour
|
|
185
185
|
if (result.needsRestart) {
|
|
186
186
|
console.log('[Setup] Serveur NET redémarre pour charger les schemas...');
|
|
187
|
-
await new Promise(r => setTimeout(r,
|
|
187
|
+
await new Promise(r => setTimeout(r, 4000)); // Laisser le temps au process.exit + restart
|
|
188
188
|
// Poll health jusqu'à ce que le serveur soit de retour (max 30s)
|
|
189
189
|
for (let i = 0; i < 30; i++) {
|
|
190
190
|
try {
|
package/package.json
CHANGED