Skip to content

Commit

Permalink
slot subscriber resub
Browse files Browse the repository at this point in the history
  • Loading branch information
NourAlharithi committed Jan 23, 2025
1 parent db73aca commit 83ee5b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drift-common
Submodule drift-common updated 49 files
+1 −2 .github/workflows/deploy-on-sdk-update.yml
+ common-ts/bun.lockb
+1 −1 common-ts/package.json
+4 −8 common-ts/src/EnvironmentConstants.ts
+2 −25 common-ts/src/common-ui-utils/commonUiUtils.ts
+1 −8 common-ts/src/common-ui-utils/order.ts
+0 −1 common-ts/src/index.ts
+181 −521 common-ts/src/serializableTypes.ts
+2 −2 common-ts/src/utils/index.ts
+0 −88 common-ts/src/utils/orderbook/index.ts
+3 −6 common-ts/src/utils/s3Buckets.ts
+0 −34 common-ts/tests/utils/orders.test.ts
+0 −23 common-ts/tests/utils/stringUtils.test.ts
+102 −74 common-ts/yarn.lock
+ icons/bun.lockb
+1 −1 icons/package.json
+1 −1 protocol
+ react/bun.lockb
+0 −1 react/package.json
+0 −54 react/src/components/Charts/ActiveDot.tsx
+0 −1 react/src/components/Charts/index.ts
+0 −18 react/src/components/Loaders/InlineLoadingBar.tsx
+0 −22 react/src/components/Loaders/ProgressBarThreeColor.tsx
+0 −2 react/src/components/Loaders/index.ts
+0 −8 react/src/components/Loaders/inlineLoading.css
+0 −35 react/src/components/Tables/BodyCell.tsx
+0 −53 react/src/components/Tables/BodyCellWrapper.tsx
+0 −36 react/src/components/Tables/BodyRow.tsx
+0 −14 react/src/components/Tables/BodyRowWrapper.tsx
+0 −17 react/src/components/Tables/HeaderCell.tsx
+0 −24 react/src/components/Tables/HeaderCellWrapper.tsx
+0 −34 react/src/components/Tables/HeaderRow.tsx
+0 −25 react/src/components/Tables/SummaryRow.tsx
+0 −48 react/src/components/Tables/TableCellCardValue.tsx
+0 −51 react/src/components/Tables/TableRowWrapper.tsx
+0 −51 react/src/components/Tables/TableSkeleton.tsx
+0 −11 react/src/components/Tables/index.tsx
+0 −107 react/src/components/Utils/CentreFillScroller.tsx
+0 −1 react/src/components/Utils/index.tsx
+0 −3 react/src/components/index.ts
+0 −18 react/src/constants/charts.ts
+0 −1 react/src/constants/index.ts
+0 −97 react/src/hooks/charts/useGroupHistoricalPricesByAverage.ts
+0 −1 react/src/hooks/index.ts
+3 −4 react/src/index.ts
+1 −0 react/src/stores/useCommonDriftStore.tsx
+0 −92 react/src/utils/graph.tsx
+0 −2 react/src/utils/index.ts
+0 −7 react/src/utils/ui.ts
4 changes: 3 additions & 1 deletion src/publishers/dlobPublisher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,9 @@ const main = async () => {
commitment: stateCommitment,
resubTimeoutMs: 30_000,
};
slotSubscriber = new SlotSubscriber(connection);
slotSubscriber = new SlotSubscriber(connection, {
resubTimeoutMs: 10_000,
});
await slotSubscriber.subscribe();

slotSource = {
Expand Down

0 comments on commit 83ee5b7

Please sign in to comment.