Skip to content

Commit ffee760

Browse files
authored
feat: removes orama heartbeat (#6370)
1 parent af0c007 commit ffee760

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

next.constants.mjs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -159,12 +159,6 @@ export const DEFAULT_ORAMA_QUERY_PARAMS = {
159159
*/
160160
export const ORAMA_SYNC_BATCH_SIZE = 50;
161161

162-
/**
163-
* The default heartbeat interval to use when communicating with Orama Cloud.
164-
* Default should be 3500ms (3.5 seconds).
165-
*/
166-
export const ORAMA_CLOUD_HEARTBEAT_INTERVAL = 3500;
167-
168162
/**
169163
* The default Orama Cloud endpoint to use when searching with Orama Cloud.
170164
*/

next.orama.mjs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { OramaClient } from '@oramacloud/client';
33

44
import {
55
DEFAULT_ORAMA_QUERY_PARAMS,
6-
ORAMA_CLOUD_HEARTBEAT_INTERVAL,
76
ORAMA_CLOUD_ENDPOINT,
87
ORAMA_CLOUD_API_KEY,
98
} from './next.constants.mjs';
@@ -17,8 +16,6 @@ const { search, getInitialFacets } = (() => {
1716
api_key: ORAMA_CLOUD_API_KEY,
1817
});
1918

20-
orama.startHeartBeat({ frequency: ORAMA_CLOUD_HEARTBEAT_INTERVAL });
21-
2219
return {
2320
search: orama.search.bind(orama),
2421
getInitialFacets: async () =>

0 commit comments

Comments
 (0)