Skip to content

Commit

Permalink
fix(cardano-services): missing references
Browse files Browse the repository at this point in the history
- fix cannot find name 'PgConnectionCreator' error
  • Loading branch information
Ivaylo Andonov committed Mar 23, 2023
1 parent b416ca2 commit 1dba2d8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Expand Up @@ -3,8 +3,9 @@ import { DB_BLOCKS_BEHIND_TOLERANCE, DB_MAX_SAFE_INTEGER, LedgerTipModel, findLe
import { DEFAULT_HEALTH_CHECK_CACHE_TTL } from '../../Program/options';
import { InMemoryCache } from '../../InMemoryCache';
import { Logger } from 'ts-log';
import { PgConnectionCreator, getPoolClient } from '../../Program';
import { PgConnectionCreator } from '../../Program/utils';
import { Pool, PoolClient } from 'pg';
import { getPoolClient } from '../../Program/services/postgres';

/**
* Properties that are need to create DbSyncProvider
Expand Down
@@ -1,8 +1,14 @@
import { Connection, createConnectionObject } from '@cardano-ogmios/client';
import { DbSyncProvider, DbSyncProviderDependencies } from '../../../src/util';
import { HEALTH_RESPONSE_BODY } from '../../../../ogmios/test/mocks/util';
import { InMemoryCache, UNLIMITED_CACHE_TTL } from '../../../src';
import { InMemoryCache, UNLIMITED_CACHE_TTL } from '../../../src/InMemoryCache';
import { OgmiosCardanoNode } from '@cardano-sdk/ogmios';
import {
PgConnectionCreator,
SERVICE_DISCOVERY_BACKOFF_FACTOR_DEFAULT,
SERVICE_DISCOVERY_TIMEOUT_DEFAULT,
createPgConnectionCreator
} from '../../../src/Program/utils';
import { Pool, QueryResult } from 'pg';
import { Provider } from '@cardano-sdk/core';
import {
Expand Down

0 comments on commit 1dba2d8

Please sign in to comment.