File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 22
33Please use [ this] ( https://docs.gitlab.com/ee/development/changelog.html ) document as guidelines to keep a changelog.
44
5+ ## [ unreleased]
6+
7+ ## Fixed
8+
9+ * index: Fixed processing reindexing reason saved in the database.
10+
511## 4.0.0 - 2021-12-24
612
713This release contains no changes except for the version number.
Original file line number Diff line number Diff line change 4444from dipdup .enums import ReindexingReason
4545from dipdup .exceptions import ConfigInitializationException
4646from dipdup .exceptions import DipDupException
47- from dipdup .exceptions import ReindexingRequiredError
4847from dipdup .hasura import HasuraGateway
4948from dipdup .index import BigMapIndex
5049from dipdup .index import HeadIndex
@@ -446,7 +445,7 @@ async def _initialize_schema(self) -> None:
446445 await self ._ctx .reindex (ReindexingReason .SCHEMA_HASH_MISMATCH )
447446
448447 elif self ._schema .reindex :
449- raise ReindexingRequiredError (self ._schema .reindex )
448+ await self . _ctx . reindex (self ._schema .reindex )
450449
451450 await self ._ctx .fire_hook ('on_restart' )
452451
You can’t perform that action at this time.
0 commit comments