@deinossrl/dgp-agent 1.5.20 → 1.5.21
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/CHANGELOG.md +5 -0
- package/index.mjs +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/index.mjs
CHANGED
|
@@ -2354,7 +2354,7 @@ async function executePgRestore(command) {
|
|
|
2354
2354
|
|
|
2355
2355
|
const result = await new Promise((resolve, reject) => {
|
|
2356
2356
|
const child = spawn(pgRestorePath, pgRestoreArgs, {
|
|
2357
|
-
env: process.env,
|
|
2357
|
+
env: { ...process.env, LC_ALL: 'C' },
|
|
2358
2358
|
stdio: ['ignore', 'pipe', 'pipe'],
|
|
2359
2359
|
});
|
|
2360
2360
|
|
|
@@ -2382,7 +2382,7 @@ async function executePgRestore(command) {
|
|
|
2382
2382
|
const now = Date.now();
|
|
2383
2383
|
|
|
2384
2384
|
// LOGICA: Filtrar, calcular y MOSTRAR PROGRESO (Consola y Web)
|
|
2385
|
-
if (trimmed.includes('processing') || trimmed.includes('creating') || trimmed.includes('restoring')) {
|
|
2385
|
+
if (trimmed.includes('processing') || trimmed.includes('creating') || trimmed.includes('restoring') || trimmed.includes('creando') || trimmed.includes('procesando')) {
|
|
2386
2386
|
processedObjects++;
|
|
2387
2387
|
|
|
2388
2388
|
// Si es un item procesado, mostrar progreso en consola
|