@sjcrh/proteinpaint-server 2.128.2 → 2.129.0
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/package.json +3 -3
- package/src/app.js +651 -560
- package/src/serverconfig.js +2 -3
package/src/serverconfig.js
CHANGED
|
@@ -219,15 +219,14 @@ if (!serverconfig.features) {
|
|
|
219
219
|
// when a mandatory setting is not defined in any ds, declare its default here
|
|
220
220
|
|
|
221
221
|
if (process.argv.find(a => a == 'validate')) {
|
|
222
|
-
//
|
|
223
|
-
// the ability of the PP server to launch itself,
|
|
222
|
+
// Issues in the async dataset init steps, such as the GDC API under maintenance, should not affect
|
|
223
|
+
// the ability of the PP server to launch itself. For GDC, skip caching during validation
|
|
224
224
|
// as the GDC API may come online later (and not require a PP server restart).
|
|
225
225
|
// This allows `npx @sjcrh/proteinpaint-server validate` to finish faster.
|
|
226
226
|
//
|
|
227
227
|
// NOTE: The server validation waits for the nodejs main thread to finish, so any unfinished
|
|
228
228
|
// async methods will still block the validation. Only other async methods are not blocked
|
|
229
229
|
// by each other while executing.
|
|
230
|
-
serverconfig.features.stopGdcCacheAliquot = true
|
|
231
230
|
serverconfig.features.mustExitPendingValidation = true
|
|
232
231
|
}
|
|
233
232
|
|