node-consul-service 1.0.77 → 1.0.80
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/index.cjs.js +3 -3
- package/dist/index.esm.js +3 -3
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -19007,7 +19007,7 @@ async function registerService(options) {
|
|
|
19007
19007
|
});
|
|
19008
19008
|
}
|
|
19009
19009
|
|
|
19010
|
-
const BASE_LOG_DIR$2 = '/home/
|
|
19010
|
+
const BASE_LOG_DIR$2 = '/home/qumra/log';
|
|
19011
19011
|
// اسم السيرفس الحالي اللي بيعمل الـ discovery
|
|
19012
19012
|
const CURRENT_SERVICE$2 = process.env.SERVICE_NAME || 'unknown-service';
|
|
19013
19013
|
async function ensureLogDir$2(dir) {
|
|
@@ -19119,7 +19119,7 @@ async function getServiceUrl(serviceName) {
|
|
|
19119
19119
|
return url;
|
|
19120
19120
|
}
|
|
19121
19121
|
|
|
19122
|
-
const BASE_LOG_DIR$1 = '/home/
|
|
19122
|
+
const BASE_LOG_DIR$1 = '/home/qumra/log';
|
|
19123
19123
|
const CURRENT_SERVICE$1 = process.env.SERVICE_NAME || 'unknown-service';
|
|
19124
19124
|
async function ensureLogDir$1(dir) {
|
|
19125
19125
|
await require$$6.promises.mkdir(dir, { recursive: true });
|
|
@@ -19153,7 +19153,7 @@ async function appendCallLog(targetService, url, method, status, elapsedMs, erro
|
|
|
19153
19153
|
}
|
|
19154
19154
|
}
|
|
19155
19155
|
|
|
19156
|
-
const BASE_LOG_DIR = '/home/
|
|
19156
|
+
const BASE_LOG_DIR = '/home/qumra/log';
|
|
19157
19157
|
const CURRENT_SERVICE = process.env.SERVICE_NAME || 'unknown-service';
|
|
19158
19158
|
const THRESHOLD = Number(process.env.SLOW_CALL_THRESHOLD || 200); // الافتراضي 200ms
|
|
19159
19159
|
async function ensureLogDir(dir) {
|
package/dist/index.esm.js
CHANGED
|
@@ -19005,7 +19005,7 @@ async function registerService(options) {
|
|
|
19005
19005
|
});
|
|
19006
19006
|
}
|
|
19007
19007
|
|
|
19008
|
-
const BASE_LOG_DIR$2 = '/home/
|
|
19008
|
+
const BASE_LOG_DIR$2 = '/home/qumra/log';
|
|
19009
19009
|
// اسم السيرفس الحالي اللي بيعمل الـ discovery
|
|
19010
19010
|
const CURRENT_SERVICE$2 = process.env.SERVICE_NAME || 'unknown-service';
|
|
19011
19011
|
async function ensureLogDir$2(dir) {
|
|
@@ -19117,7 +19117,7 @@ async function getServiceUrl(serviceName) {
|
|
|
19117
19117
|
return url;
|
|
19118
19118
|
}
|
|
19119
19119
|
|
|
19120
|
-
const BASE_LOG_DIR$1 = '/home/
|
|
19120
|
+
const BASE_LOG_DIR$1 = '/home/qumra/log';
|
|
19121
19121
|
const CURRENT_SERVICE$1 = process.env.SERVICE_NAME || 'unknown-service';
|
|
19122
19122
|
async function ensureLogDir$1(dir) {
|
|
19123
19123
|
await promises.mkdir(dir, { recursive: true });
|
|
@@ -19151,7 +19151,7 @@ async function appendCallLog(targetService, url, method, status, elapsedMs, erro
|
|
|
19151
19151
|
}
|
|
19152
19152
|
}
|
|
19153
19153
|
|
|
19154
|
-
const BASE_LOG_DIR = '/home/
|
|
19154
|
+
const BASE_LOG_DIR = '/home/qumra/log';
|
|
19155
19155
|
const CURRENT_SERVICE = process.env.SERVICE_NAME || 'unknown-service';
|
|
19156
19156
|
const THRESHOLD = Number(process.env.SLOW_CALL_THRESHOLD || 200); // الافتراضي 200ms
|
|
19157
19157
|
async function ensureLogDir(dir) {
|