Skip to content

Commit bd5883e

Browse files
committed
lint
1 parent 9112432 commit bd5883e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ describe('Revalidator proxy heartbeat', () => {
1414

1515
fetchMock.mockResponse('Hello!');
1616

17-
initRevalidatorProxyHeartbeat('dummy-build-id');
17+
initRevalidatorProxyHeartbeat();
1818

1919
expect(fetchMock.mock.calls.length).toEqual(1);
2020
expect(fetchMock.mock.calls[0][0]).toMatch(new RegExp(`^${revalidatorProxyOrigin}`));

server/src/server.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ nextApp.prepare().then(async () => {
8383
}
8484

8585
if (!isFailover) {
86-
const buildId = getNextBuildId(nextServer);
87-
initRevalidatorProxyHeartbeat(buildId);
86+
initRevalidatorProxyHeartbeat();
8887
}
8988

9089
logger.info(`Server started on port ${port}`);

0 commit comments

Comments
 (0)