Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Commit

Permalink
master <> develop (#1221)
Browse files Browse the repository at this point in the history
* fix: temporarily skip bad ids (#1219)

* v0.19.3 (#1220)

Co-authored-by: Rashad Alston <rashad@Rashads-Air.lan>

---------

Co-authored-by: Rashad Alston <rashad@Rashads-Air.lan>
  • Loading branch information
ra0x3 and Rashad Alston authored Aug 8, 2023
1 parent 2b42093 commit 4dd77da
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 35 deletions.
32 changes: 16 additions & 16 deletions Cargo.lock

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

34 changes: 17 additions & 17 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,29 +61,29 @@ homepage = "https://fuel.network/"
license = "Apache-2.0"
repository = "https://github.com/FuelLabs/fuel-indexer"
rust-version = "1.69.0"
version = "0.19.2"
version = "0.19.3"

[workspace.dependencies]
async-graphql-parser = "5.0"
async-graphql-value = "5.0"
bincode = "1.3"
clap = "3.1"
forc-index = { version = "0.19.2", path = "./plugins/forc-index" }
forc-postgres = { version = "0.19.2", path = "./plugins/forc-postgres" }
fuel-indexer = { version = "0.19.2", path = "./packages/fuel-indexer" }
fuel-indexer-api-server = { version = "0.19.2", path = "./packages/fuel-indexer-api-server" }
fuel-indexer-database = { version = "0.19.2", path = "./packages/fuel-indexer-database" }
fuel-indexer-database-types = { version = "0.19.2", path = "./packages/fuel-indexer-database/database-types" }
fuel-indexer-graphql = { version = "0.19.2", path = "./packages/fuel-indexer-graphql" }
fuel-indexer-lib = { version = "0.19.2", path = "./packages/fuel-indexer-lib" }
fuel-indexer-macro-utils = { version = "0.19.2", path = "./packages/fuel-indexer-macros/macro-utils" }
fuel-indexer-macros = { version = "0.19.2", path = "./packages/fuel-indexer-macros", default-features = false }
fuel-indexer-metrics = { version = "0.19.2", path = "./packages/fuel-indexer-metrics" }
fuel-indexer-plugin = { version = "0.19.2", path = "./packages/fuel-indexer-plugin", default-features = false }
fuel-indexer-postgres = { version = "0.19.2", path = "./packages/fuel-indexer-database/postgres" }
fuel-indexer-schema = { version = "0.19.2", path = "./packages/fuel-indexer-schema", default-features = false }
fuel-indexer-types = { version = "0.19.2", path = "./packages/fuel-indexer-types" }
fuel-indexer-utils = { version = "0.19.2", path = "./packages/fuel-indexer-utils" }
forc-index = { version = "0.19.3", path = "./plugins/forc-index" }
forc-postgres = { version = "0.19.3", path = "./plugins/forc-postgres" }
fuel-indexer = { version = "0.19.3", path = "./packages/fuel-indexer" }
fuel-indexer-api-server = { version = "0.19.3", path = "./packages/fuel-indexer-api-server" }
fuel-indexer-database = { version = "0.19.3", path = "./packages/fuel-indexer-database" }
fuel-indexer-database-types = { version = "0.19.3", path = "./packages/fuel-indexer-database/database-types" }
fuel-indexer-graphql = { version = "0.19.3", path = "./packages/fuel-indexer-graphql" }
fuel-indexer-lib = { version = "0.19.3", path = "./packages/fuel-indexer-lib" }
fuel-indexer-macro-utils = { version = "0.19.3", path = "./packages/fuel-indexer-macros/macro-utils" }
fuel-indexer-macros = { version = "0.19.3", path = "./packages/fuel-indexer-macros", default-features = false }
fuel-indexer-metrics = { version = "0.19.3", path = "./packages/fuel-indexer-metrics" }
fuel-indexer-plugin = { version = "0.19.3", path = "./packages/fuel-indexer-plugin", default-features = false }
fuel-indexer-postgres = { version = "0.19.3", path = "./packages/fuel-indexer-database/postgres" }
fuel-indexer-schema = { version = "0.19.3", path = "./packages/fuel-indexer-schema", default-features = false }
fuel-indexer-types = { version = "0.19.3", path = "./packages/fuel-indexer-types" }
fuel-indexer-utils = { version = "0.19.3", path = "./packages/fuel-indexer-utils" }
fuel-tx = { version = "0.26", default-features = false }
fuel-types = { version = "0.31", default-features = false, features = ["serde"] }
fuel-vm = { version = "0.26", default-features = false }
Expand Down
3 changes: 1 addition & 2 deletions packages/fuel-indexer/src/executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,7 @@ pub fn run_executor<T: 'static + Executor + Send + Sync>(
// Just bump the cursor and keep going
warn!("Constraint violation. Continuing...");

// Try to fetch the page again using same cursor.
continue;
next_cursor = cursor;
} else {
error!("Database error: {inner}.");
sleep(Duration::from_secs(DELAY_FOR_SERVICE_ERROR)).await;
Expand Down

0 comments on commit 4dd77da

Please sign in to comment.