@chainlink/external-adapter-framework 0.0.34 → 0.0.36
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
CHANGED
|
@@ -56,6 +56,8 @@ class BatchWarmingTransport {
|
|
|
56
56
|
this.subscriptionSet = dependencies.subscriptionSetFactory.buildSet();
|
|
57
57
|
}
|
|
58
58
|
async hasBeenSetUp(req) {
|
|
59
|
+
logger.debug(`Checking if entry is in batch warming set: [${req.requestContext.cacheKey}]`);
|
|
60
|
+
logger.debug(`!!(await this.subscriptionSet.get(req.requestContext.cacheKey)) ${!!(await this.subscriptionSet.get(req.requestContext.cacheKey))}`);
|
|
59
61
|
return !!(await this.subscriptionSet.get(req.requestContext.cacheKey));
|
|
60
62
|
}
|
|
61
63
|
async setup(req, config) {
|
|
@@ -65,6 +67,9 @@ class BatchWarmingTransport {
|
|
|
65
67
|
logger.debug('done adding to subscription set');
|
|
66
68
|
logger.debug(`Adding subscription set res ${res}`);
|
|
67
69
|
logger.debug(`Get request ${await this.subscriptionSet.get(req.requestContext.cacheKey)}`);
|
|
70
|
+
logger.debug(`!!(await this.subscriptionSet.get(req.requestContext.cacheKey)t; ${!!(await this.subscriptionSet.get(req.requestContext.cacheKey))}`);
|
|
71
|
+
logger.debug(`!await this.subscriptionSet.get(req.requestContext.cacheKey)t; ${!(await this.subscriptionSet.get(req.requestContext.cacheKey))}`);
|
|
72
|
+
logger.debug(`await this.subscriptionSet.get(req.requestContext.cacheKey)t; ${this.subscriptionSet.get(req.requestContext.cacheKey)}`);
|
|
68
73
|
}
|
|
69
74
|
async backgroundExecute(context) {
|
|
70
75
|
logger.debug('Starting background execute');
|