Skip to content

Commit bed5887

Browse files
gusinaciolutter
authored andcommitted
runtime,graph: fix warnings and rebase types
runtime: fix rebase problem
1 parent 54f9965 commit bed5887

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

graph/src/data/schema.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use crate::cheap_clone::CheapClone;
2-
use crate::components::store::{EntityKey, EntityType, LoadRelatedRequest, SubgraphStore};
2+
use crate::components::store::{EntityKey, EntityType, LoadRelatedRequest};
33
use crate::data::graphql::ext::{DirectiveExt, DirectiveFinder, DocumentExt, TypeExt, ValueExt};
44
use crate::data::graphql::ObjectTypeExt;
55
use crate::data::store::{self, ValueType};

store/postgres/src/deployment_store.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ use diesel::r2d2::{ConnectionManager, PooledConnection};
66
use graph::anyhow::Context;
77
use graph::blockchain::block_stream::FirehoseCursor;
88
use graph::components::store::{
9-
EntityDerived, EntityKey, EntityType, PrunePhase, PruneReporter, PruneRequest, PruningStrategy,
10-
StoredDynamicDataSource, VersionStats,
9+
DerivedEntityQuery, EntityKey, EntityType, PrunePhase, PruneReporter, PruneRequest,
10+
PruningStrategy, StoredDynamicDataSource, VersionStats,
1111
};
1212
use graph::components::versions::VERSIONS;
1313
use graph::data::query::Trace;

store/postgres/src/writable.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ impl SyncStore {
256256
block: BlockNumber,
257257
excluded_keys: Vec<EntityKey>,
258258
) -> Result<BTreeMap<EntityKey, Entity>, StoreError> {
259-
self.retry("get_derived", || {
259+
retry::forever(&self.logger, "get_derived", || {
260260
self.writable
261261
.get_derived(self.site.cheap_clone(), key, block, &excluded_keys)
262262
})

0 commit comments

Comments
 (0)