Skip to content

Commit

Permalink
runtime,graph: fix warnings and rebase types
Browse files Browse the repository at this point in the history
runtime: fix rebase problem
  • Loading branch information
gusinacio authored and lutter committed Mar 29, 2023
1 parent 54f9965 commit bed5887
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion graph/src/data/schema.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use crate::cheap_clone::CheapClone;
use crate::components::store::{EntityKey, EntityType, LoadRelatedRequest, SubgraphStore};
use crate::components::store::{EntityKey, EntityType, LoadRelatedRequest};
use crate::data::graphql::ext::{DirectiveExt, DirectiveFinder, DocumentExt, TypeExt, ValueExt};
use crate::data::graphql::ObjectTypeExt;
use crate::data::store::{self, ValueType};
Expand Down
4 changes: 2 additions & 2 deletions store/postgres/src/deployment_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ use diesel::r2d2::{ConnectionManager, PooledConnection};
use graph::anyhow::Context;
use graph::blockchain::block_stream::FirehoseCursor;
use graph::components::store::{
EntityDerived, EntityKey, EntityType, PrunePhase, PruneReporter, PruneRequest, PruningStrategy,
StoredDynamicDataSource, VersionStats,
DerivedEntityQuery, EntityKey, EntityType, PrunePhase, PruneReporter, PruneRequest,
PruningStrategy, StoredDynamicDataSource, VersionStats,
};
use graph::components::versions::VERSIONS;
use graph::data::query::Trace;
Expand Down
2 changes: 1 addition & 1 deletion store/postgres/src/writable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ impl SyncStore {
block: BlockNumber,
excluded_keys: Vec<EntityKey>,
) -> Result<BTreeMap<EntityKey, Entity>, StoreError> {
self.retry("get_derived", || {
retry::forever(&self.logger, "get_derived", || {
self.writable
.get_derived(self.site.cheap_clone(), key, block, &excluded_keys)
})
Expand Down

0 comments on commit bed5887

Please sign in to comment.