Skip to content

Commit 31adb03

Browse files
committed
Fjerner logging
1 parent c794a17 commit 31adb03

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

server/src/cache/revalidator-proxy-heartbeat.ts

-6
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@ const getPodAddress = () => {
3131

3232
const getProxyLivenessUrl = () => {
3333
const podAddress = getPodAddress();
34-
console.log(
35-
`Redis prefixes: ${redisCache.getKeyPrefixes()} - ${redisCache.getKeyPrefixes().join(',')}`
36-
);
37-
3834
return podAddress
3935
? `${REVALIDATOR_PROXY_ORIGIN}/liveness${objectToQueryString({
4036
address: podAddress,
@@ -66,8 +62,6 @@ export const initRevalidatorProxyHeartbeat = () => {
6662
return;
6763
}
6864

69-
console.log(`Heartbeat url: ${url}`);
70-
7165
fetch(url, {
7266
headers: { secret: SERVICE_SECRET },
7367
}).catch((e) => logger.error(`Failed to send heartbeat signal - ${e}`));

srcCommon/redis.ts

-3
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ class RedisCacheImpl {
5656
}
5757

5858
public async init(buildId: string, decoratorVersionId: string) {
59-
console.log(`Initing with ${buildId} ${decoratorVersionId}`);
6059
this.buildId = buildId;
6160
this.updateRenderCacheKeyPrefix(decoratorVersionId);
6261

@@ -73,9 +72,7 @@ class RedisCacheImpl {
7372
}
7473

7574
public updateRenderCacheKeyPrefix(decoratorVersionId: string) {
76-
console.log(`Setting prefix ${this.renderCacheKeyPrefix}`);
7775
this.renderCacheKeyPrefix = `${process.env.ENV}:render:${this.buildId}:${decoratorVersionId}`;
78-
console.log(`Set prefix ${this.renderCacheKeyPrefix}`);
7976
}
8077

8178
public async getRender(key: string) {

0 commit comments

Comments
 (0)